That was one of the first things I tried :-) Need to get back to it. In general it's much easier to hot reload than classes because wrapping a function is sufficient. A bit harder to detect when to reset (e.g. if order or type changes).
-
-
-
Right: the ability to swap the function body out but keep the same hook state struck me as promising in the spirit of DisplayScript’s state cells. Here’s hoping!
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.