using react.useRef with a dynamic elements list. is this a bad practice?
I found this code sandbox when I googled the topic:
https://codesandbox.io/s/react-useref-with-dynamic-lists-y2k9k?from-embed=&file=/src/index.js
rowej83
CodeSandbox
React useRef with dynamic lists - CodeSandbox
React useRef with dynamic lists by rowej83 using randomcolor, react, react-dom, react-scripts
2 Replies