News for hackers. Stuff that matters.
Re:On "The Future of JavaScript MVC Frameworks" by swannodette on Monday February 24, 2014 @04:30PM (#7293517)
Yes in Om the application state is treated like a database - it contains all the relevant application data. However we don't encourage accessing the application state as a global if it can be avoided. Components should only receive the parts of application state they need to render.

Updating the 2053rd email in an immutable vector is not going to copy the previous 2052 items. ClojureScript data structures are modeled directly on Clojure's - structural sharing avoids needless copying.

Re:On "The Future of JavaScript MVC Frameworks" by skrebbel on Tuesday February 25, 2014 @01:47AM (#7296075)
Yeah, good point on the not-global. I didn't mean globally accessible, more like, a single "current state" object, rather than many little ones as you would see in a typical backbone application. Thanks!