Re:Removing User Interface Complexity, or Why React is Awesome
by modarts on Tuesday May 13, 2014 @03:01PM
(#7739957)
You'll find a surprising amount of it will simply disappear. I'm at the point where I removed my models and collections directories entirely; since the only feature they provide me at this point are getting data from the server (which I can do with just jQuery, superagent, etc.)
[ Parent
| on HN ]
Re:Removing User Interface Complexity, or Why React is Awesome
by fourstar on Tuesday May 13, 2014 @09:55PM
(#7741793)
And then you manage it in what way?
Re:Removing User Interface Complexity, or Why React is Awesome
by yazaddaruvala on Wednesday May 14, 2014 @02:42AM
(#7742509)
In a simple React app (ie most apps), you end up storing all your models (as Javascript Objects/Arrays) in one single scope (the "App/Main Component"). As a result you don't need to share things around / access them / listen to them from many different files. They no longer need "managing". I hope that helps.