Closed
Description
I'm using gatsby as example environment for new google maps api, and I need to test it with SSR, but at the same time I need to test it in strict mode, but instead of showing me errors in my own code, it errors out on gatsby's
code.
Warning: Unsafe lifecycle methods were found within a strict-mode tree:
in StrictMode (at pages/index.js:66)
in IndexPage (created by PageRenderer)
in PageRenderer (created by JSONStore)
in JSONStore (created by EnsureResources)
in ScrollContext (created by EnsureResources)
in RouteUpdates (created by EnsureResources)
in EnsureResources (created by RouteHandler)
in RouteHandler (created by Root)
in div (created by FocusHandlerImpl)
in FocusHandlerImpl (created by Context.Consumer)
in FocusHandler (created by RouterImpl)
in RouterImpl (created by LocationProvider)
in LocationProvider (created by Context.Consumer)
in Location (created by Context.Consumer)
in Router (created by Root)
in Root
in _default (created by HotExported_default)
in AppContainer (created by HotExported_default)
in HotExported_default
componentWillMount: Please update the following components to use componentDidMount instead: SideEffect(NullComponent)
Learn more about this warning here:
https://fb.me/react-strict-mode-warnings
Activity