Hot Module Reloading not working
When I update the content of the modal, the update is not being reflected on the open modal. I have to close and re-open the modal for the change to show. Unfortunately I think you may need to rethink the entire API in order to solve this.
Using
"react-dynamic-modal": "^1.1.1",
"react-hot-loader": "^3.0.0-beta.7",
with "webpack-hot-middleware": "^2.18.0", in the app.js
and specifing the: entry: [
'react-hot-loader/patch',
'webpack-hot-middleware/client?path=/__webpack_hmr&timeout=2000&reload=true',
'./src/app.js'
],
I'm able to have stable react-hot-loader work on all files inside src/ folder, updates immediately. But the reloading will dismiss the open modal in the browser each time a changes are saved. so it must again be triggered to open by a onClick event or other call to set ModalManager.open.