3 ms·
This is a good guide for "thinking in hooks": https://wattenberger.com/blog/react-hooks https://wattenberger.com/blog/react-hooks You can combine whatever inpu
by manigandham 7y ago
This is a good guide for "thinking in hooks": https://wattenberger.com/blog/react-hooks https://wattenberger.com/blog/react-hooks
You can combine whatever inputs you want, whether props or internal state variables. Hooks are basically a way to specific "do X whenever any of Y variables change", regardless of what those vars are.