While they are projecting the a future to React that many in the community doesn't believe in, but that is something we have to wait and watch until a stable version of React is released.
What about the present day? Those projects that are still Client Side Only and doesn't need those fancy SSR, RSC concepts or the framework that promotes them. I work on such projects in my organization and I primarily try to work on Tech Debt areas like Upgrading the packages and Migrating it from one tech to another.
In the last four years, I have migrated NextJS 9 project with Redux+Saga to React+Apollo with Webpack, Webpack project to Module Federation and even Webpack to Vite.
Those were not challenging at all, the only challenge was to leading a large team to execute the migration plan one after the other.
But in the past 3 months, I have faced with alot of challenge when i moved to a team that started working from last 6 months. The challenge is that, most of the dependencies used are either dead or not maintained for almost 1 year now.
The packages like `redux-first-history` has core dependencies on React Router exposing History API and therefore, they are not able to progress. But, what about other packages that don't have those challenges? they too are unmaintained.
Excluding the framework officially listed in the react.dev site, the only option that a React dev has to work on a complete Client side app is to use Vite bundler which is recognized in the react.dev site as well. Vite is supported by all major frameworks and is the best tool available for both Development & Production Release and Migrating to it is very easy to achieve if you don't work with Redux.
When you try to migrate a Redux app, the first challenge you face is the `504 outdated dependency` and as per my understanding is caused by the packages that have dependency on older version of react or other major library that would result in multiple version of them available in node_modules. Maybe my understanding is wrong or there could be some other issue that i am aware of.
But, what i wanted to know from the community is? why not migrate those package to latest versions and may be Vite to make maintaining it simple for everyone.
I have migrated 2 repos to Vite and React 18 1. https://github.com/founding-partner/redux-oidc 2. https://github.com/founding-partner/redux-oidc-example
I don't have a clarity on the OIDC implementation, so I didn't touch the src folder but validated whether everything is working as-is like the previous architecture and they do.
If the Redux Community can migrate these dead & unmaintained projects to Vite and React 18, it will benefit everyone for the long run. Especially, when Vite is the only option to work on for Client only application.
What do you think?
Regards, CJS
Note: my first post here, pls forgive if i am not following the guidelines.