react-dom.development.js:530 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.
Please update the following components: AutosizeInput, Select
same error with 3.1.0 for me:
Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code
For me too! Same warning...
Also getting the same error in 3.1.0....
The same error in 3.1.0
See also:
UNSAFE_componentWillReceiveProps
MenuPlacer
https://github.com/JedWatson/react-select/issues/3720#issuecomment-616069515
@razh There is currently a rewrite in progress to remove these deprecated lifecycle methods.
I'm getting an error, not just a warning.
index.js:1 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.
Please update the following components: AutosizeInput, Select
In addition to the above, I am getting this one after I start selecting something:
index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of NodeResolver which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
in div (created by Context.Consumer)
in EmotionCssPropInternal (created by MenuList)
in MenuList (created by MenuPlacer)
in ScrollBlock (created by MenuPlacer)
in NodeResolver (created by ScrollCaptor)
in ScrollCaptor (created by ScrollCaptorSwitch)
in ScrollCaptorSwitch (created by MenuPlacer)
in div (created by Context.Consumer)
in EmotionCssPropInternal (created by Menu)
in Menu (created by MenuPlacer)
in MenuPlacer (created by Select)
in div (created by Context.Consumer)
in EmotionCssPropInternal (created by SelectContainer)
in SelectContainer (created by Select)
in Select (created by StateManager)
Hi all,
Thank you to everyone who has provided information above.
As you may be aware, this bug has been reported multiple times as per issue #4094. On behalf of the maintainers I apologise it's taken awhile to get to this.
A new master issue #4094 has since been created to help keep track of this bug going forward.
This new issue will exist as the source of truth going forward to investigate the issue, report findings, and implement a bug fix.
We'll take into account all the details above while investigating.
If you feel this issue has been wrongly closed as it isn't related to the new master issue #4094, please let us know and we'll take another look.
Again, thank you.
In version 3.1.0 this warning is shown
@JanaSundar Follow https://github.com/JedWatson/react-select/issues/4094 to get the latest updates on this issue.
Any updates for this bugs?
I've already bug in new blank project.
```Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
Please update the following components: AutosizeInput, Select```
@junreyd and @golendercaria
Regarding an update on this, fixes for these issues are a priority. We've identified and resolved these (thanks to @Methuselah96) in the least intrusive ways possible, and are preparing a new release likely within the next week or two. You can read more about it here. https://github.com/JedWatson/react-select/issues/4293#issuecomment-743781662
Most helpful comment
Any updates for this bugs?