memo
useMemo
memo
- compares primitive values
High-Level Guideline and Rules For memo
Render if the props have changed
useMemo
- comparing object/arrays
base | 0px |
sm | 480px |
md | 768px |
lg | 992px |
xl | 1280px |
2xl | 1536px |
width | px |
height | px |
Date Created: 2022/01/10
Last Update: 2023/07/01
memo
useMemo
memo
memo
Render if the props have changed
useMemo