3 ms·
Yes, that's what I do. Managing the global state in the main component, setting up functions to change the state via the update helper [1] and pass these functi
by rmetzler 10y ago
Yes, that's what I do. Managing the global state in the main component, setting up functions to change the state via the update helper [1] and pass these functions down to the dumb components.
[1]: https://facebook.github.io/react/docs/update.html https://facebook.github.io/react/docs/update.html