Closed apppro123 closed 4 years ago
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
npx react-codemod rename-unsafe-lifecycles
in your project source folder.Same here
@apppro123 would you mind creating a pull request with your proposed solution?
This is fixed with version 0.6.1
.
I got a warning because of this methode "componentWillReceiveProps" in lib/BaseInput.js.
I made now a workaround with shouldComponentUpdate (i know that this is propably not the best solution):
Instead of componentWillReceiveProps(...){...}
I now use shouldComponentUpdate(newProps){... return true}
I always return true now, so it definitely updates, i'm not sure if this is needed... I hope this helps in improving your amazing library. Thanks for your work in making these effects!
If there are further questions, just write please.