3 ms·
That's why there are compile-to-Js languages that see widespread adoption. Elm, bucklescript, Scala.js to name a few.
by fxfan 8y ago
That's why there are compile-to-Js languages that see widespread adoption.
Elm, bucklescript, Scala.js to name a few.
- nickbauman 8y ago... Clojurescript. A React app is 10x more complicated than a Reagent app. http://reagent-project.github.io/ http://reagent-project.github.io/
- fxfan 8y agoIn the following code segment, the `[:div` `[:p` et al- are the reagent or clojurescript? ``` (defn simple-component [] [:div [:p "I am a component!"] [:p.someclass "I have " [:strong "bold"] [:span {:style {:color "red"}} " and red "] "text."]]) ```