I’m getting the below error in my Console when I run a Dash app locally. I get a similar warning for componentWillReceiveProps. Is this something with my app/environment specifically, or is it a Dash thing? I upgraded to Dash 2.0.0 to troubleshoot and still get the two warnings.
Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: t
printWarning @ react-dom@16.v2_0_0m…32235559.14.0.js:82
warn @ react-dom@16.v2_0_0m…32235559.14.0.js:45
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings @ react-dom@16.v2_0_0m…35559.14.0.js:11506
flushRenderPhaseStrictModeWarningsInDEV @ react-dom@16.v2_0_0m…35559.14.0.js:23247
commitRootImpl @ react-dom@16.v2_0_0m…35559.14.0.js:22531
unstable_runWithPriority @ react@16.v2_0_0m1632235559.14.0.js:2685
runWithPriority$1 @ react-dom@16.v2_0_0m…35559.14.0.js:11174
commitRoot @ react-dom@16.v2_0_0m…35559.14.0.js:22516
finishSyncRender @ react-dom@16.v2_0_0m…35559.14.0.js:21942
performSyncWorkOnRoot @ react-dom@16.v2_0_0m…35559.14.0.js:21928
(anonymous) @ react-dom@16.v2_0_0m…35559.14.0.js:11224
unstable_runWithPriority @ react@16.v2_0_0m1632235559.14.0.js:2685
runWithPriority$1 @ react-dom@16.v2_0_0m…35559.14.0.js:11174
flushSyncCallbackQueueImpl @ react-dom@16.v2_0_0m…35559.14.0.js:11219
workLoop @ react@16.v2_0_0m1632235559.14.0.js:2629
flushWork @ react@16.v2_0_0m1632235559.14.0.js:2584
performWorkUntilDeadline @ react@16.v2_0_0m1632235559.14.0.js:2196