Nezir Zahirovic
Nezir Zahirovic

Motivation | Recoil

For reasons of compatibility and simplicity, it's best to use React's built-in state management capabilities rather than external global state. But React has certain limitations:Component state can only be shared by pushing it up to the common ancestor, but this might include a huge tree that then needs to re-render.Context can only store a single value, not an indefinite set of values each with its own consumers.Both of these make it difficult to code-split the top of the tree (where the state has to live) from the leaves of the tree (where the state is used).


Motivation | Recoil #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typescript #jquery #emberjs #denojs #bosnia