Top 5 Tips for Optimizing React Performance
Briefly

By wrapping ComponentB with memo(), it will only re-render when propB actually changes value, regardless of how many times its parent re-renders.
Lazy loading can be implemented using the Suspense component and the lazy function from the react module. The lazy function allows you to define a component that will be loaded lazily when it is needed.
Read at Medium
[
add
]
[
|
|
]