Doesn't have a detrimental effect on their diff algorithm, if the component
type changed they would destroy DOM nodes.


On Sun, Jan 12, 2014 at 6:04 AM, Dave Sann <[email protected]> wrote:

> I am just starting to take a look at om.
>
> I downloaded the chrome react developer tools to look at the structure
>
> (found here:
> https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi
> )
>
> I notice that the components that om creates are all of Type "Unknown".
> Normally, I think that this would have a detrimental effect on their diff
> algorithm - because they do not diff different Types - but here all types
> are the same.
>
> Am I correct is saying that this is prevented by the implementation of
> shouldComponentUpdate in the Pure React class?
>
> thanks
>
> Dave
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to