On Monday, November 17, 2014 2:32:18 PM UTC-5, Shaun LeBron wrote:
> How does it perform its dom-diffing?

So, it does not actually do diffing. It is very close to being able to, but if 
this is added it will be sort of an extra optimization as opposed to a "core" 
algorithm.

Instead of diffing, changes are bound directly to the site they are to be 
applied using rx's and atoms directly on attributes, style properties, text 
nodes and DOM nodes. So, changes are detected and applied more locally so there 
is in most cases very little to diff.

The only case where it might be needed is for large collections, but that's 
where the "items-view" or "collections-view" comes in (more on this coming soon 
I hope) - which will be much more scalable than diffing.

All this is how any serious desktop GUI framework does it (like Qt/QML, JavaFX, 
WPF) and freactive is just trying to emulate that.

Does that make it clear?


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to