|
|
|
|
|
by softfalcon
1535 days ago
|
|
Hooks are never the solution for state on their own. They're more for localized to a single component state. That's why I brought up Relay (this is not the same as React, but works with React), cause it's what FB uses to stitch together global state between hundreds of different sub-components. That being said, Relay does NOT have a simple object interactive state ability. It's an obscure "external store" with weird querying and mutating rules that can feel quite difficult to work with at times. |
|