ljmotta opened a new pull request, #3042: URL: https://github.com/apache/incubator-kie-tools/pull/3042
Closes: https://github.com/apache/incubator-kie-issues/issues/1593 ## Description - Remove all `react-router` dependencies in favor of `react-router-dom`. Some hooks and components are not available in `react-router`. This way we make it easier to upgrade to v7 as `react-router-dom` was discotinued, and we will need to replace all `react-router-dom` with `react-router` [1]. - Removed `history` dependency. - Use the Data strategy [2] for the `online-editor` and `serverless-logic-web-tools` to make the `useBlocker` hook available. - Flattened some route components, as the <Route> implementation changed. [1] https://reactrouter.com/upgrading/v6#upgrade-to-v7 [2] https://reactrouter.com/start/modes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
