scalableminds / webknossos

Visualize, share and annotate your large 3D images online
https://webknossos.org
GNU Affero General Public License v3.0
124 stars 23 forks source link

Update React to v18 #5795

Closed philippotto closed 5 days ago

philippotto commented 2 years ago

The profiling dev tools in chrome stopped working for me. Probably, a good incentive to update react and reduce the technical debt a bit.

ToDos

hotzenklotz commented 1 year ago

For reference :

hotzenklotz commented 2 weeks ago

Install React 18 produces these "incorrect peer dependency" errors:


warning " > @tanstack/react-query-persist-client@4.14.1" has incorrect peer dependency "@tanstack/react-query@4.14.1".
warning " > ansi-to-react@6.1.6" has incorrect peer dependency "react@^16.3.2 || ^17.0.0".
warning " > ansi-to-react@6.1.6" has incorrect peer dependency "react-dom@^16.3.2 || ^17.0.0".
warning " > beautiful-react-hooks@3.11.1" has unmet peer dependency "rxjs@>=7.0.0".
warning " > flexlayout-react@0.5.5" has incorrect peer dependency "react@^17.0.1".
warning " > flexlayout-react@0.5.5" has incorrect peer dependency "react-dom@^17.0.1".
warning " > react-debounce-render@8.0.2" has incorrect peer dependency "react@^17.0.2".
warning " > react-redux@7.2.2" has incorrect peer dependency "react@^16.8.3 || ^17".
warning "react-router-dom > react-router > mini-create-react-context@0.4.1" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0".
warning " > react-sortable-hoc@2.0.0" has unmet peer dependency "prop-types@^15.5.7".
warning " > react-sortable-hoc@2.0.0" has incorrect peer dependency "react@^16.3.0 || ^17.0.0".
warning " > react-sortable-hoc@2.0.0" has incorrect peer dependency "react-dom@^16.3.0 || ^17.0.0".```