Re:ClojureScript One
by aveeno on Thursday January 12, 2012 @02:00AM
(#3455349)
How good is the interop with existing js libraries? Would i be able to use webgl or three.js?
[ Parent
| on HN ]
The short answer is yes, ClojureScript has similar interop features for vanilla JS as Clojure for the JVM has for Java.
However, given that ClojureScript uses the Google Closure compiler to optimize production code, there are a few gotchas to be aware of. This article does a great job at explaining the details:
• http://lukevanderhart.com/2011/09/30/using-javascript-and-cl...