I get two different depreciation warnings while using this library.
1
[ ] One related to react-transition-group
Warning: Legacy context API has been detected within a strict-mode tree:
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: Transition$$1
Learn more about this warning here:
2
[ ] The other one related to Dropdown
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Dropdown which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
in div (created by Context.Consumer)
in Manager (created by Dropdown)
To ensure future compatibility with react 17 (most likely the next react release), Any use of findDOMNode should be replaced with useRef or forwardRef, and react-transition-group updated accordingly (when it gets updated) (see https://github.com/reactjs/react-transition-group/issues/429)
I get two different depreciation warnings while using this library.
1
react-transition-group
2
Dropdown
To ensure future compatibility with react 17 (most likely the next react release), Any use of
findDOMNode
should be replaced withuseRef
orforwardRef
, andreact-transition-group
updated accordingly (when it gets updated) (see https://github.com/reactjs/react-transition-group/issues/429)