News for hackers. Stuff that matters.
Re:First Impressions Using React Native by lumpypua on Saturday February 07, 2015 @03:57AM (#9013512)
I think you've got it exactly backwards. Events are not part of the view.

Events happen to be triggered by the view and they affect global state which is then reflected in the view.

This is the separation of concerns you want. Components don't need to know about events beyond triggering the ones they need. Components only worry about rendering state.

There are no comments on this comment yet.