mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-28 08:59:45 +03:00
Fixed component HRM issue
This commit is contained in:
parent
6a03536653
commit
5e32962e5e
|
@ -10,16 +10,17 @@ render(
|
|||
<AppContainer>
|
||||
<Root
|
||||
store={ store }
|
||||
/>
|
||||
/>
|
||||
</AppContainer>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
||||
if (module.hot) {
|
||||
module.hot.accept('./containers/Root', () => {
|
||||
const RootContainer = require('./containers/Root').default
|
||||
render(
|
||||
<AppContainer>
|
||||
<Root
|
||||
<RootContainer
|
||||
store={ store }
|
||||
/>
|
||||
</AppContainer>,
|
||||
|
|
|
@ -18,9 +18,10 @@ render(
|
|||
|
||||
if (module.hot) {
|
||||
module.hot.accept('./containers/Root', () => {
|
||||
const RootContainer = require('./containers/Root').default
|
||||
render(
|
||||
<AppContainer>
|
||||
<Root
|
||||
<RootContainer
|
||||
store={ store }
|
||||
/>
|
||||
</AppContainer>,
|
||||
|
|
Loading…
Reference in New Issue
Block a user