GeotrekCE / Geotrek-rando-v3

Geotrek public data website (version 3)
https://geotrek-rando-v3.readthedocs.io/stable/
MIT License
16 stars 14 forks source link

Migration to React 18.3.* and higher #1219

Closed dtrucs closed 1 month ago

dtrucs commented 3 months ago

Currently, Geotrek-Rando applications run on React 18.2.0.

Soon, there will be a major new version of React (19) and a migration should be necessary. In the meantime, the React team has released version 18.3.1, which is the same code as 18.2.0, but with added warnings. These warnings will become errors in the future major version.

Fortunately, in testing version 18.3.1 we don't have so many warnings.

It should be necessary to update (or change) the react-burger-menu package (not updated for 2 years) allowing to create side menus for mobile viewports.

For the moment, I can't see anything else, but I'll keep this ticket up to date.

babastienne commented 3 months ago

Thanks @dtrucs for your ticket and for keeping this soft up to date. :pray:

dtrucs commented 3 months ago

React-leaflet also appears to be incompatible with React 19. The lead developer is working on a 5.* version. There's a lot of work to do to migrate Geotrek-Rando :

dtrucs commented 1 month ago

Fixed since 3.23.0