Thanks for the quick reply.  I very well may end up doing an XHR to get the 
initial state, I'm just trying to figure out what my options are.

I assume when you mention pre-rendering on the server, you are referring to the 
markup itself, as opposed to just having some top level "content" div set as 
the om/root and then everything gets rendered dynamically underneath that.  And 
yes, I realize you can have multiple roots - I've been doing that already, 
usually for major sections of the page (header, nav, content, etc.).

But it seems this is pretty limited, since root nodes can't overlap each other 
or be in any kind of parent/child relationship.  I guess that's what you meant 
by "still needs a bit of work"?  Just to confirm - there's no way to pre-render 
markup on the server that goes "deeper" in the hierarchy than the om/root 
nodes, correct?

This seems like it would be kind of the "holy grail" of rendering - having 
something like Enlive templates that can seamlessly be used on the server or 
client. 

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