4 ms·
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
by asmala 15y ago
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-clojurescript.html http://lukevanderhart.com/2011/09/30/using-javascript-and-cl...