Created
January 29, 2018 22:38
-
-
Save puzzfuzz/d24ebffccdf1e0182939ea038e80d6d0 to your computer and use it in GitHub Desktop.
This file contains 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
const store = createStore(/* ... */); | |
// ... | |
ReactDOM.render( | |
<Provider store={store}> | |
<MyCompA /> | |
</Provider>, | |
document.getElementById('mountsite-A') | |
); | |
ReactDOM.render( | |
<Provider store={store}> | |
<MyCompB /> | |
</Provider>, | |
document.getElementById('mountsite-B') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment