DEV Community

Discussion on: How to use loop in React.js?

Collapse
 
oathkeeper profile image
Divyesh Parmar

How about using a useMemo() to maintain that arrays reference and only call it when we want to change