These are chat archives for opal/opal

21st
Mar 2017
Forrest Chang
@fkchang
Mar 21 2017 18:37
@catmando u should use opal_hot_reloader - load time is only large at the beginning and then it's near instantaneous. Bear in mind certain practices are less hot reload friendly, but if you generally do good OO programming it's a good fit. One of these days, I'll write a blog post on that
actually currently really enjoying the hot reloader on an older opal app that doesn't have hyper-react, which largely lends itself hot reload friendly code simply by nature of react's structure. That said, objects, methods go a long way to making reload friendly code
Forrest Chang
@fkchang
Mar 21 2017 21:34
On that note: I updated https://rubygems.org/gems/opal_hot_reloader to popup and alert window showing reload error. It'd be nice to know when the hot reload failed due to errors, w/o having to open the JS console