Shift all components to use React on a monorepo type setup #7108
Replies: 2 comments 1 reply
-
The proposal makes sense to me. I'm no web developer though, so I can't speak to any technical challenges this approach might have. The component WebUIs were largely inherited from Hadoop from what I remember, so it would be good to bring them up to speed with the rest of the Ozone repo. Just to clarify, this would only affect the front end of the web UIs, correct? The Java backend would remain unchanged? If we go with this approach, I would also suggest doing it on a feature branch. |
Beta Was this translation helpful? Give feedback.
-
Thanks for proposing this @devabhishekpal! I think the project would definitely benefit from this. Agree with @errose28, feature branch is a good idea for this change. |
Beta Was this translation helpful? Give feedback.
-
As we are having more changes in the UI and revamping the overall look of Recon, I wanted to take a look at the current frameworks that are being used in Ozone and if we can make it more efficient by using a single framework.
Motivation
Looking at the current build times, and the overall package size I feel it could be optimized. Also from a code point of view, having different frameworks in the same repository is hard to maintain and often things like package upgrades and fixes in dependencies go missing in some cases.
This increases the amount of work we might need to do later in case we are requiring to do any such task.
Proposed Change
I want to propose to use a monorepo structure, where we use React as the UI framework for all the components (i.e SCM, OM and Recon) , dividing it into workspaces, and thus having only few common dependencies in the project.
This might be a one-time effort to migrate the code, but in the long term we will have a more efficient way to build and deploy the project.
As a part of this:
Advantages vs Disadvantages
Advantages:
Disadvantages:
Beta Was this translation helpful? Give feedback.
All reactions