Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1008 Bytes

File metadata and controls

23 lines (12 loc) · 1008 Bytes

The use of Memoization

Since the release of the react hooks, there has been a lot of discussion about the use of memo() and useMemo(), but memoization is rarely required.

The best solution is frequently a good composition of your components and state, which is why these guidelines are important. Depending on how you need to optimize your rendering, consider learning more about keys, refs, and advanced react development.

{% embed url="https://reactjs.org/docs/optimizing-performance.html" %}

Also maybe in the future everything will be memorized by react it self

{% embed url="https://www.youtube.com/watch?v=lGEMwh32soc" %}

References and articles :

{% embed url="https://epicreact.dev/memoization-and-react" %}

{% embed url="https://dmitripavlutin.com/use-react-memo-wisely" %}

{% embed url="https://reactjs.org/docs/hooks-reference.html#usememo" %}

{% embed url="https://overreacted.io/before-you-memo" %}

{% embed url="https://dmitripavlutin.com/use-react-memo-wisely" %}