Re:Flutter – The sky’s the limit
by stabbles on Friday December 07, 2018 @02:28PM
(#18630744)
Hot reload is like the REPL of frontend development
[ Parent
| on HN ]
But traditionally it's been full of caveats, namely whenever you have long-lived objects or instances of classes somewhere in your hierarchy, causing all sorts of hard to debug issues. I used to do manual hot-reloading when working in a Clojure codebase full time for a few years using Cider (Clojure IDE inside Emacs), and it still required a fair amount of organizing your code to mostly be immutable to avoid these caveats altogether. An entire philosophy came out of this when Stuart Sierra wrote about how he solved this using lifecycles and then released his Component framework to kind of codify these lifecycle ideas into a concrete thing. All this because hot-reloading is great but really fragile.
It actually works great if your'e using ClojureScript / figwheel / reagent / re-frame.
Or you can use a frontend language with a proper REPL (e.g. ClojureScript)
Re:Flutter – The sky’s the limit
by manangatangy on Friday December 07, 2018 @09:35PM
(#18633534)
Does ClojureScript run on mobile platforms ?
Yes, web apps and React Native-based (http://cljsrn.org/).
ClojureScript has both REPL and hot reload, btw :)
That existed on many platforms for a while. Yet, they are getting abandoned. See https://blogs.msdn.microsoft.com/visualstudio/2016/04/06/ui-...