React's Strict Mode warns about "Unsafe lifecycle methods were found within a strict-mode tree".
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead.
Now with React 16.9 it's even a non-strict mode warning ...
Any update on this @moroshko ?
Still very relevant, looking forward to updates
Here's a PR that should take care of it: https://github.com/moroshko/react-autosuggest/pull/681
Fixed in #681
@aberezkin this should not have been closed. It resolves https://github.com/moroshko/react-autosuggest/issues/670, but not this one. A warning is still shown in React's strictmode:
Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code.
Can someone work on this?
Most helpful comment
Any update on this @moroshko ?