Web Dev/9. Clojure
Shadow-cljs란
hYhY1234
2021. 9. 7. 00:16
728x90
https://code.thheller.com/blog/shadow-cljs/2019/03/01/what-shadow-cljs-is-and-isnt.html
What shadow-cljs is and isn't
I’ll try to properly describe what shadow-cljs actually is since there seem to be a few common misconceptions that keep coming up that are simply incorrect. This is not actually an introduction for shadow-cljs, rather a definition of why it is different
code.thheller.com
Shadow-cljs는 ClojureScript와 JavaScript build툴이다. npm JavaScript ecosystem을 clojureScript에서 접근할 수 있게 해준다. 근데 얘는 JVM위에서 돌기때문에, JavaScript랑, ClojureScript할건데도 JVM 깔아야한다. 그리고 내부적으로는 clojure compiler로 JavaScript를 처리하고, 최적화된 JavaScript output을 만든다.