On Thu, Apr 17, 2014 at 12:15 PM, Daniel Kersten <[email protected]> wrote:

> I'd also be very interested in a blog post!
>
> Regarding multiple roots - question for David: Is this typical in React
> apps (and by extension, how you expect Om to be used)? Or do you envision
> that most Om apps would use a single root?
>

I do not envisions app using a single root. I specifically added multi root
support to avoid issues with modals that you encounter in React.

This is something I hit in my own project too. I'm using 4 roots and it
> seems like a bit like a smell, but I'm unsure.
>

Multiple roots are fully supported.


> Modularity  is also something I'm struggling with, so I'd be very
> interested in a discussion on the subject. My code seems to be getting
> pretty messy, but I'm reluctant to write my own abstractions to fix this
> since they'll likely be at odds with what David ends up implementing or
> advocating, but at the same time want to keep working on this project
> rather than wait for Om to mature.
>

I don't recommend waiting. Build your own abstractions if you need them. Om
is substrate and not intended to dictate much beyond state management,
rendering, and *basic* modularity.

David

-- 
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