diff --git a/docs/README.md b/docs/README.md index a3abe338a..a0df195e3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -50,11 +50,12 @@ ReactDOM.render( // Hot Module Replacement API if (module.hot) { module.hot.accept('./containers/App', () => { - render( + const NextApp = require('./containers/App').default; + ReactDOM.render( - + - />, + , document.getElementById('root') ); });