Maintaining a local component state can optimize the performance of a React application by keeping the Component self-contained and reducing the number of props and states that need to be passed down the component tree. This article will cover the techniques and explain why these optimization processes are essential and when to utilize them.
Table of contents
Maintain Local Component State where NecessaryMaking Use of Immutable Data StructuresReact Components Should be Remembered to Avoid Needless Re-rendersFiles in Many ChunksUse “React.Fragments” to Reduce the Number of HTML Element WrappersReact’s Windowing or List VirtualizationReact’s Use of Lazy Image LoadingConclusion1 Comment
Sort: