We need to update React from version 17 to version 18. However, it comes with some significant breaking changes. Additionally, we need to address associated dependencies like:
@hot-loader/react-dom
react
react-dom
react-router
react-router-dom
Also, we might no longer need "@hot-loader/react-dom" as React now has fast-refresh built-in. Similarly, with React DOM, we might not need the router dependencies.
It's crucial to upgrade React to version 18, especially considering that version 19 is soon to be launched, which might also come with significant changes. It could be more difficult for us to upgrade from version 17 to version 19 directly. Therefore, it's better to upgrade to version 18 first.
Action Items:
Update React to version 18.
Evaluate the necessity of "@hot-loader/react-dom" and router dependencies.
Test thoroughly to ensure compatibility and address any breaking changes.
Consider the implications for future upgrades, particularly to version 19.
Issue Description:
We need to update React from version 17 to version 18. However, it comes with some significant breaking changes. Additionally, we need to address associated dependencies like:
Also, we might no longer need "@hot-loader/react-dom" as React now has fast-refresh built-in. Similarly, with React DOM, we might not need the router dependencies.
It's crucial to upgrade React to version 18, especially considering that version 19 is soon to be launched, which might also come with significant changes. It could be more difficult for us to upgrade from version 17 to version 19 directly. Therefore, it's better to upgrade to version 18 first.
Action Items: