Hi,
  I have an SPA which uses Material UI and am adding code splits to improve 
the perceived page load time.

The problem I'm seeing is that the late loaded split is not seeing the 
theme that encompasses the applications root element.
I load elements of the split (in the split itself) using code like the 
following.  

    (r/render
              [:<>
                ;Parts of the tool bar
                [layers-panel]
                [config-panel]
                [model-info-panel]]
              (-> js/document
                  (.getElementById tool-bar-drawers)))

The split itself is loaded but the theme is not applied.  If I insert 
hiccup into a specific node like this how can I get the theme applied?
Is there an alternative way of introducing the split elements into the tree?

Thanks.

 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/clojurescript/af1e6158-b2fb-47c8-9f8a-9b816e3feab2o%40googlegroups.com.

Reply via email to