2017-07-17 9 views

回答

0
(defn ui                   
[]                    
(let [react-mathjax (aget js/window "deps" "react-mathjax")     
     ctx (aget react-mathjax "Context")          
     node (aget react-mathjax "Node")]          
    [:div                   
    [:h1 "Hello world"] 
    [:> ctx [:> node "2+2"]]]))