I'm gonna say it. Flux hampered React innovation: led everybody right back to events and "templates" and intimately knowing data changes.
But the the ancestor sCU doesn't know about the descendent subscription.
-
-
Redux (or Flux) doesn't rely on this. Each component is notified independently (and can bail out). Parents don't know about children.
-
In React sCU only defines what happens to specific component. It doesn't decide for the whole subtree if child has sideways subscription.
-
An external subscription mechanism is definitely a hack though. It breaks how React behaves.
-
Yeah. I'm just musing in this thread, had we not side-stepped so quickly maybe there's an awesome react-like solution we're just not chasing
-
The Ember approach is to always *pull* data consistently so we can build sCU for you. May like it or not but it works and worth exploring.
-
Getters let you hide the indirection too, so it looks and feels pretty vanilla.
-
At some point you gotta pay the piper though.
End of conversation
New conversation -
-
-
Could you flatten a holder window object that applies new data to regional/structured data based on graph like db? View to data &



Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.