Hi, should kotlin js, in particular the react wrap...
# javascript
c
Hi, should kotlin js, in particular the react wrappers work with hot module reloading, and in particular the React Hot Loader (https://github.com/gaearon/react-hot-loader). I have been trying, but get a page reload on each build... Googling it seems HMR is somewhat supported (as used in the Kotlin Frontend Plugin), but is using the React Hot Loader with kotlin code an exercise in futility?
s
We never got it working properly. If I remember correctly we did get it reloading on changes but state in sub components would end up cleared.
If you do get it working a ping would be much appreciated
c
If I make progress I shall... currently I have found using React Hot Loader, even though it does reload the whole page, reloads a bit quicker than doing a reload just using webpack hot reloading... however, it is seems nothing like working with native js...