Conversation
This removes a few of the error messages that are only applicable in development, which saves a few bytes in production builds.
|
Whenever I change a module, the console logs say it's updated, but nothing changes. I did some tracking on module updates:
Is webpack somehow not actually updating the code, but just re-executing the existing modules? (I'm using webpack 1.14.0) |
|
@ntucker were you able to solve the issue? I'm experiencing quite similar one |
|
@dobryanskyy nope, still broken. |
* Add typescript note to README * Move TypeScript to its own section
|
I have multiple applications in the same repo, so I use a wrapper function that takes in the root element, store and controller as the parameters (I'm using Cerebral.js). Changes in application files are being detected but I get full reload each time in the browser. Is my usage of this wrapper causing the problem? I am on RHL3 beta 6 and webpack 1.13.2. |
|
@rolandfung I'm experiencing the same problem (full reload on changes), with hot-loader beta6 and webpack 2.2.0: // abstract render for hot reloading
const renderWithHotReload = AppComponent => {
render(
<AppContainer>
<AppComponent store={store} />
</AppContainer>,
document.getElementById('app')
)
}
// initial render
renderWithHotReload(App)
// enable hot reloading, will be stripped in production
if (process.env.NODE_ENV !== 'production' && module.hot) {
module.hot.accept('./components/app', () => {
const NextApp = require('./components/app').App
renderWithHotReload(NextApp)
})
module.hot.accept('./rootReducer', () => {
const nextRootReducer = require('./rootReducer').default
store.replaceReducer(nextRootReducer)
})
}Code here. Apologies if this isn't the place to post this (but thought it would be valuable in case it's a bug). |
Improve docs installation steps
|
Woo! 🎉 |
|
Just to keep you up-to-date. We're now finalizing docs, and have 3 more bugs to solve that are blockers for final release. All of these are on the behalf of We agreed to merge |
|
React-proxy hasn't seen a commit in 11 months, will it be getting some love? |
|
Here are all of them: https://github.com/gaearon/react-hot-loader/milestone/2 I'm going to focus on the |
The project is now deprecated, see https://github.com/gaearon/react-transform-catch-errors. This commit just removes the feature, while waiting for react hot loader 3 to be ready (gaearon/react-hot-loader#240)
Work in progress.
(We are skipping 2 because the approach is way too different from 2 alpha which went nowhere).
Some info here: gaearon/react-hot-boilerplate#61