Javascript – componentWillReceiveProps is still working in react 18.2.0
I am working on updating react version to 18.2 from 16.8.6 in one of my projects. After doing the upgrade one of the major warnings that I got in console is regarding the deprecated lifecycle methods like componentWillReceiveProps. The warning…