The idiomatic way to use redux is for every React component to subscribe to updates?
-
-
Tree view where every node is connected https://github.com/reactjs/redux/blob/4d0d97b0f414ea7d9b8c1cd87a2ac3450dda61b6/examples/tree-view/src/containers/Node.js#L66-L70 …
-
Do people normally flatten their Redux stores this way so they can index by id or type/id?
-
Yep, it's called "normalization". See http://redux.js.org/docs/recipes/reducers/NormalizingStateShape.html … and http://blog.isquaredsoftware.com/2017/01/practical-redux-part-6-connected-lists-forms-and-performance/ … for examples and more info.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.