The short answer is that React is doing the heavy lifting for you.  
Conceptually, you can just think of it as your app rendering the entire DOM on 
every state change.  It is a very functional approach, because you can think of 
rendering as a pure function that takes your app state as input and returns a 
DOM.  

React uses DOM diffing to make this model work without killing performance.  
Clojurescript wrappers like Om and Reagent can optimize this further by using 
the efficiency of equality checks on immutable data structures to cheaply 
calculate precisely when to tell React it should update a component.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to