Last active
February 20, 2017 00:21
-
-
Save basarat/a3aaf2b8fe1c200f57e1a0041156886a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import * as ReactDOM from 'react-dom'; | |
import { App } from './app'; | |
ReactDOM.render(<App/>, document.getElementById('root')) | |
import {setStatefulModules} from 'fuse-box/modules/fuse-hmr'; | |
setStatefulModules(name => { | |
// Add the things you think are stateful: | |
return /router/.test(name) || /state/.test(name); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment