craco-plugin-react-hot-reload icon indicating copy to clipboard operation
craco-plugin-react-hot-reload copied to clipboard

Cannot update a component from inside the function body of a different component

Open Grawl opened this issue 5 years ago • 0 comments

Runtime is started, but when I changed text in JSX like <p>some text</p> app crashes

Warning: Cannot update a component from inside the function body of a different component.
    in ConnectFunction (created by Context.Consumer)
    in withRouter(Connect(Router)) (at App.jsx:28)
    in Router (at App.jsx:27)
    in Provider (at App.jsx:26)
    in App (created by HotExportedApp)
    in AppContainer (created by HotExportedApp)
    in HotExportedApp (at src/index.jsx:12)

Grawl avatar Apr 14 '20 07:04 Grawl