React Nativeのパフォーマンス最適化には、不要な再レンダリングを最小化すること、効率的なリストの実装、JSスレッドの作業量とbridge通信の削減、画像の最適化、およびネイティブスレッドを使用したアニメーションが含まれます。パフォーマンスはスムーズで応答性の高いアプリにとって重要です。
再レンダリングを最小化する(Reactの重要な関心事)
✓ Avoid unnecessary RE-RENDERS:
→ React.memo (memoize components), useMemo (values), useCallback (functions)
→ correct, stable KEYS in lists; avoid creating new objects/functions inline that
cause children to re-render
→ proper state structure (don't put everything in one big state that re-renders all)
