react-waves icon indicating copy to clipboard operation
react-waves copied to clipboard

Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code.

Open arieltools opened this issue 5 years ago • 1 comments

image

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.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state

Please update the following components: ReactWaves, Waveform

Just started seeing this with -

"@dschoon/react-waves": "4.0.3",

I do have installed as well - "wavesurfer.js": "5.2.0",

arieltools avatar Nov 15 '21 02:11 arieltools

Just comment <React.StrictMode> start & </React.StrictMode> end tag only.

Keval-R avatar Jul 11 '22 08:07 Keval-R