diff --git a/examples/counter/src/index.js b/examples/counter/src/index.js index 64f7f747..c5181d5b 100644 --- a/examples/counter/src/index.js +++ b/examples/counter/src/index.js @@ -10,16 +10,17 @@ render( + /> , document.getElementById('root') ); if (module.hot) { module.hot.accept('./containers/Root', () => { + const RootContainer = require('./containers/Root').default render( - , diff --git a/examples/todomvc/index.js b/examples/todomvc/index.js index 611459be..30525e06 100644 --- a/examples/todomvc/index.js +++ b/examples/todomvc/index.js @@ -18,9 +18,10 @@ render( if (module.hot) { module.hot.accept('./containers/Root', () => { + const RootContainer = require('./containers/Root').default render( - ,