DEV Community

Discussion on: 🔧 Build a complete Modal Component with React Hooks 🌈

Collapse
 
sajadzmani profile image
sajad zamani

ok i have a question for u . if we using state every change make all components in that rerender.
and then we can forward a function. way u forward a ref instead a function.
less render? or more speed ? what ?