Hacker News new | ask | show | jobs
by piran 4129 days ago
Data passed to the controller view should be state from stores, not props. read the docs plz.
2 comments

That's only true if you're following the canonical Flux architecture to the letter. There's little difference between having your store trigger setState() on a root component and having your store trigger React.render(<RootComponent/>) with new props.
If anything the docs reiterate (quite a few times) that this is one way, and not a golden bullet. And that flux is just one of the architectures you can use with react.

But you certainly get the award for least imagination.