
S3 E3 shadow-cljs with Thomas Heller
ClojureStream Podcast
00:00
The Difference Between Live Reload and Cold Reload in Shadow CJS
In closure script it's not like you need to reload there is no reload of the browser you're just swapping the state and it just appears uh right so i i learned that difference myself in the naming. Generally there's a live reload which will just trigger a full page reload when whenever the code is changed but the problem with live reload is that your state is gone. In shadow cjs or closed script we first introduced was the concept of hot reload which just reloads the part of code that actually changed and maintain your state. If you change the the render somehow so that an element is displayed differently or whatever then that is very fast feedback so you don't have this delay all the time right
Transcript
Play full episode