3 ms·
Passed around local state vs global state is indeed an interesting topic. Honestly I think both are nice in good hands. The library I made supports both of the
by thenewestkid 9y ago
Passed around local state vs global state is indeed an interesting topic. Honestly I think both are nice in good hands.
The library I made supports both of them, but I did not mention local state management for the sake of simplicity. You can find it here: https://github.com/solkimicreb/react-easy-state#easycomp https://github.com/solkimicreb/react-easy-state#easycomp (it will take 1 min to read).
Doesn't it get clumsy to pass state as props to deeply nested comps?