From 26f4c14abb6e6eb91c99e3e9a4cf0fbfd8b6b278 Mon Sep 17 00:00:00 2001 From: jameskraus Date: Tue, 23 Aug 2016 15:18:57 -0400 Subject: [PATCH] Fixing the broken V3 example in the docs --- docs/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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') ); });