geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
516 stars 404 forks source link

Plan and estimate libs updates #3528

Open offtherailz opened 5 years ago

offtherailz commented 5 years ago

Description

We need to evaluate some libs updates. This because:

Here a list of the libs that need an update:

mbarto commented 5 years ago

For React 16 / 17, we surely need to check the following ones (from React 15.5 migration):

mbarto commented 5 years ago

For OpenLayers 5:

mbarto commented 5 years ago

Did a first experiment of upgrading to React 16.8.4. It looks most of it is working (not tried to run tests yet).

Available here: https://github.com/geosolutions-it/MapStore2/tree/react_16

Succesfully migrated:

Had to update also (to be compatible with React 16):

Had to update also (to be compatible with webpack 4):

Had to update also (for tests):

Could not update (without a refactor of the current code):

Not tried other migrations.

offtherailz commented 5 years ago

About libs that can not be updated:

mbarto commented 5 years ago

@offtherailz I tried rxjs-compat, but I couldn't make it work in any way. If you want to do further testing, please do it. About recompose: what I found was an incompatibility with RxJS 6, and I don't think those kind of things will be implemented, but I would be happy if they will.

offtherailz commented 5 years ago

@mbarto Ok, thanks for clarification, now I understood

mbarto commented 5 years ago

My estimate for React16 update is 13 points