7 ms·
Yes, you can use any JS library you normally would from ClojureScript. Pretty much the only JS "framework" that feels natural to use from ClojureScript is React
by AlwaysBCoding 11y ago
Yes, you can use any JS library you normally would from ClojureScript. Pretty much the only JS "framework" that feels natural to use from ClojureScript is React, but things like jQuery, Highcharts, etc... all work just like they would in CoffeeScript.
- Scarbutt 11y agoIn Clojurescript, the google Closure Library is favored over using something like jQuery since Clojurescript leverages the Closure Compiler, not as famous as jQuery but is a solid lib used by gmail, google docs, maps and much more.
- AlwaysBCoding 11y agoYeah I agree, for basic DOM manipulation it's easier to just call out to the google closure functions than worrying about including jQuery... HOWEVA, there are a lot of useful libraries (highcharts, jqueryUI etc...) that are built on top of jQuery so I find myself including it frequently in my cljs builds.
- idibidiart 11y agoready to turn over a new leaf and try reactive clojurescript? :)