aframevr/aframe-inspector

Update all the dependencies, mainly webpack and react

vincentfretin opened this issue · 3 comments

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, and componentWillReceiveProps by componentDidUpdate or getDerivedStateFromProps.
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

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