New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade node version and react version #3061
Comments
@Sharathmk99, thank you for opening the issue. We encountered a bottleneck while upgrading to React 18, which is related to Webpack 5 and Comlink. Here is the issue PR. I'll check if it's possible to proceed with the upgrade and will get in touch with you. |
Thank you so much. Let me know if I can help in anyway. |
Any update on upgrade. Also material-ui is really old, any plan to upgrade to v5? Thanks |
Adding this to the 3.18 Milestone. @KaroMourad is working on it. |
Hi, @Sharathmk99 Upgrading Node and React VersionsThe UI was created using CRA (Create React App), an officially supported method for building single-page React applications. It provides a However, Create React App was deprecated in early 2023, and its packages became outdated. Attempting to update Node or React versions resulted in build failures. [CRA issues](https://github.com/facebook/create-react-app/issues) There are two solutions to upgrade Node versions:
Migrating to Next.js will require considerable time as Next.js organizes routing differently, essentially requiring a rewrite of the entire UI app. Migrating to Vite offers a more efficient way to resolve this issue. However, after two migration iterations, bugs and issues persisted. This is due to many packages used in Aim not yet being adapted to these significant updates. Solution: |
@sharathmk9 what do you think about the proposed solutions? |
Thank you @KaroMourad and @SGevorg for looking into this issue. When we planned to upgrade the node version, we did face similar challenges as CRA was deprecated. We did looked into Vite and NextJS, but didn't conducted any PoC on it. The solution makes sense, but some third party packages doesn't support node version 1.16.x. Example MUI v5 needs react 17.x.x and also node version 17.x.x. We were integrating Argo Workflow as part of Orchestrating training jobs and we wanted to use reactflow to visualise the DAG. Did face some issue with node 16.x.x, but was able to overcome with legacy settings. Regarding Material UI package, yes we wanted to use many predefined components part of Orchestration & Model Registry from mui v5, but ended up creating our own custom components. Next year we will dedicated sometime to check if we can upgrade the node version, but for now mui is the only pain point. |
馃殌 Feature
Upgrade node version to latest to get better performance and also upgrade react and its dependent version as we couldn't install some of the 3rd party lib because Aim react version is old. For example react flow.
Motivation
Pitch
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: