You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
I'm getting this error when loading the page (no need to show the bar):
_Warning: Unsafe legacy lifecycles will not be called for components using new component APIs.
Connect(LoadingBar) uses getDerivedStateFromProps() but also contains the following legacy lifecycles:
componentWillReceiveProps
componentWillUpdate
The above lifecycles should be removed. Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks_
I added the code just as in the examples:
App.jsx --> simple import
Reducer --> same as in "Install the reducer to the store"
showLoading/hideLoading --> as in "Usage without middleware"
React version: "react": "^16.4.0"
Any ideas?