Re: [ClojureScript] Om: React Component Types and diffs

2014-01-12 Thread David Nolen
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 wrote: > I am just starting to take a look at om. > > I downloaded the chrome react developer tools to look at the structure > > (fou

Re: [ClojureScript] Om: React Component Types and diffs

2014-01-12 Thread Alexander Solovyov
This 'Unknown' label is not a type of a component, just a 'displayName' of it. om doesn't set any 'displayName', that's why you're seeing 'Unknown' everywhere. On Sun, Jan 12, 2014 at 1:04 PM, Dave Sann wrote: > I am just starting to take a look at om. > > I downloaded the chrome react develope

[ClojureScript] Om: React Component Types and diffs

2014-01-12 Thread Dave Sann
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".