Closed vincentfretin closed 1 year ago
This will replace the PR #601
For reference, the repo currently uses react 15.6.2.
npm run lint
src/components/components/Mixins.js
20:5 error Do not use setState in componentDidUpdate react/no-did-update-set-state
=> modify it to use getDerivedStateFromProps
I have a version of the inspector working with react 18.2.0, mainly changes about string refs that needs to be replaced by
React.createRef
, andcomponentWillReceiveProps
bycomponentDidUpdate
orgetDerivedStateFromProps
. I'm waiting for #638 and #639 to be merged first, then I can proceed updating webpack to version 5, babel, react and other dependencies.This will fix #606