apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

Upgrade React from `v17` to `v18` on `kie-tools` #118

Open pefernan opened 1 year ago

pefernan commented 1 year ago

Kie-tools repo is still using React v17, we should update to the latest v18.

pefernan commented 1 year ago

Depencency versions changed so far:

Package From To Info
react ^17.0.2  ^18.2.0  migration guide
react-dom ^17.0.2 ^18.2.0  
@types/react ^17.0.6 ^18.0.28 
@types/react-dom ^17.0.5 ^18.0.11 
@testing-library/jest-dom ^5.16.1 ^5.16.5  
@testing-library/react ^11.2.6 ^13.4.0 
@testing-library/react-hooks ^5.1.2 ^8.0.1 
react-dropzone ^11.4.2 ^11.7.1  
react-router ^5.2.1 ^5.3.4
react-router-dom ^5.2.1 ^5.3.4 
@types/react-router ^5.1.14 ^5.1.20  
@types/react-router-dom ^5.1.7 ^5.3.3
react-redux ^7.2.4 ^8.0.5 
@types/react-redux ^7.1.16 removed
react-table ^7.6.2 ^7.8.0
@types/react-table ^7.0.25 ^7.7.14
react-resizable ^1.11.0 ^3.0.4
@types/react-resizable ^1.7.2 ^3.0.3
react-json-view ^1.21.3 @textea/json-viewer: ^2.14.1 @textea/json-viewer
react-monaco-editor ^0.49.0 removed Moved to @kie-tools-core/monaco-editor
react-sortable-hoc ^2.0.0 removed Moved to Patternfly drag & drop beta

Issues found so far:

ljmotta commented 1 year ago

Patternfly just announced the version 5, with support to React 18. https://www.patternfly.org/get-started/upgrade/