3 ms·
When I work on ClojureScript app I am actually modifying application that is running in the browser, without ever reloading the page. That would not be possible
by lmilcin 5y ago
When I work on ClojureScript app I am actually modifying application that is running in the browser, without ever reloading the page. That would not be possible if it could not compile or at least interpret it in the browser.
- kccqzy 5y agoHot reload doesn't imply compilation in the browser. For all you know lein could be recompiling via the JVM and sending updated JS files to the browser.
- benjaminjackman 5y agoThat sounds pretty cool, is there a guide to setting that up?
- lmilcin 5y agoSure. I use fighwheel. https://figwheel.org/ https://figwheel.org/ Actually, when I develop with clojure, I typically have both backend and frontend running at the same time and I am concurrently modifying both applications without restarting them. This is way, way more convenient than having to restart application and then to bring it to a state to run your test. This is youtube video from which I learned about fighwheel: https://www.youtube.com/watch?v=j-kj2qwJa_E https://www.youtube.com/watch?v=j-kj2qwJa_E Have fun!