3 ms·
To me that example doesn't look all that different from typical hot-reload provided by webpack or similar. Can you tell me what I'm missing here?
by basil-rash 8y ago
To me that example doesn't look all that different from typical hot-reload provided by webpack or similar. Can you tell me what I'm missing here?
- Jach 8y agoI'm not familiar with webpack but in general hot reloading isn't quite the same as dynamic redefinition, but can be close enough for many purposes. If you can set up something approaching Java's hotswap (made even better by JRebel) then perhaps the advantage is lessened.
- porsager 8y agoYou get dynamic redefinition with Wright[1][2] and chrome, and you can plug in Typescript pretty easily. In v2 currently under way, you can use es modules which gives you a much better experience since you can reload a single file instead of an entire bundle (always sub 100ms update times). [1] https://github.com/porsager/wright https://github.com/porsager/wright [2] http://porsager.com/wright/example.mov http://porsager.com/wright/example.mov