DEV Community

loading...

Discussion on: How to useRef to Fix React Performance Issues

Collapse
salvoravida profile image
Salvatore Ravidà

Why don't use redux, and simply store selected cell ti redux, everything will work as it should. You are just passing a callback setstate to parent components.