Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): upgrade to React 18 #2

Merged
merged 11 commits into from
May 21, 2024
Merged

build(deps): upgrade to React 18 #2

merged 11 commits into from
May 21, 2024

Conversation

eatyourgreens
Copy link
Contributor

@eatyourgreens eatyourgreens commented May 20, 2024

  • Bump React to v18, along with any dependencies that rely on React 17.
  • Remove @mui/styles, which is no longer supported.
  • Switch from ReactDOM.render() to createRoot().render().
  • Upgrade React types.
  • Build with Node 20.
  • npm update outdated packages.
  • upgrade the MUI tree view to React 18 (and fix keyboard accessibility.)
  • Run prettier. On second thoughts, that makes this way too noisy.
  • towards Developer experience updates #5.

@eatyourgreens eatyourgreens changed the title React-18 build(deps): upgrade to React 18 May 20, 2024
@eatyourgreens eatyourgreens force-pushed the react-18 branch 2 times, most recently from e4ae717 to e5a0404 Compare May 20, 2024 20:17
@eatyourgreens
Copy link
Contributor Author

After the changes here, npm outdated is mostly major version bumps.

Package                      Current    Wanted    Latest  Location                                 Depended by
@loaders.gl/core              3.4.15    3.4.15     4.2.2  node_modules/@loaders.gl/core            frontend
@loaders.gl/wkt               3.4.15    3.4.15     4.2.2  node_modules/@loaders.gl/wkt             frontend
@types/jest                   27.5.2    27.5.2   29.5.12  node_modules/@types/jest                 frontend
@types/mapbox-gl             1.13.10   1.13.10     3.1.0  node_modules/@types/mapbox-gl            frontend
@types/node                 16.18.97  16.18.97  20.12.12  node_modules/@types/node                 frontend
deck.gl                       8.9.36    8.9.36    9.0.14  node_modules/deck.gl                     frontend
http-proxy-middleware          2.0.6     2.0.6     3.0.0  node_modules/http-proxy-middleware       frontend
immer                         9.0.21    9.0.21    10.1.1  node_modules/immer                       frontend
mapbox-gl                     1.13.3    1.13.3     3.3.0  node_modules/mapbox-gl                   frontend
openapi-typescript-codegen    0.21.0    0.21.0    0.29.0  node_modules/openapi-typescript-codegen  frontend
prettier                       2.8.8     2.8.8     3.2.5  node_modules/prettier                    frontend
react-map-gl                  5.3.21    5.3.21     7.1.7  node_modules/react-map-gl                frontend
react-router-dom               5.3.4     5.3.4    6.23.1  node_modules/react-router-dom            frontend
typescript                     4.9.5     4.9.5     5.4.5  node_modules/typescript                  frontend

Base automatically changed from frontend-updates to main May 21, 2024 10:55
@eatyourgreens eatyourgreens force-pushed the react-18 branch 2 times, most recently from af4ad88 to 682083d Compare May 21, 2024 11:07
Bump React to v18, along with any dependencies that rely on React 17.

Remove `@mui/styles`, which is no longer supported.
Switch from `ReactDOM.render()` to `createRoot().render()`.
@eatyourgreens eatyourgreens merged commit ce4687c into main May 21, 2024
1 check passed
@eatyourgreens eatyourgreens deleted the react-18 branch May 21, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant