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