Looking at Facebook's Flux TodoMVC example (https://github.com/facebook/flux/tree/master/examples/flux-todomvc/) makes me wonder how this approach scales.
In the example the store is updated onBlur/Enter keypress of a new entry, but what if we wanted to update an existing entry on keypress? i.e. you type something in an input and this is persisted to the store.
The store's contents (todo list) is set as state at the highest level since the whole app needs it, this is re-set whenever the store changes.
How does this scale? It seems like it would be inefficient to check if every component needs to re-render when in all likelihood probably nothing does (you're just editing text and that item is the only thing which needs updating).
Is this approach OK to use for a real app, or are there optimisations to keep in mind to make this scale efficiently?