-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat(frontend): RFC to incubate React app #2055
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d5e2b86
to
6945581
Compare
Agree with the general direction towards React(w/GraphQL) and proposal to incubate versus boil the ocean. |
364204c
to
db5d067
Compare
*Why not?*: The intermediate state of a half-react, half-ember app is something we’d rather not think about -- it’s scary & sad. We’d like to avoid degrading client-side developer experience with this type of complexity. Since this migration will take some time, we feel it more productive to iterate independently. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the interim ... Any new development happens in react / ember / both?
- Developing in both can lead to poor developer experience.
- Developing in one can lead to drift.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no great answers, once you commit to a dual world for a while.
Here is a strawman that optimizes for autonomous parallel development:
- Get to React-Ember functional parity
- Recommend migration from Ember -> React
- Ember feature freeze
- [eventually] deprecate Ember
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this strategy (what flavor of dual development is sustainable) will emerge over time as well. We'll not lose sight of this as we iterate. Thanks @nagarjunakanamarlapudi!
I think something to note is that an effective incubation of a React app on DataHub should require some modifications and cleanup to the existing Ember code to extract out useful shared modules that are re-usable between the two. Haven't gotten a chance to actually document this yet, but we can have a chat at some point if you'd like to append this RFC with some additional FE/UI information |
Yes this makes sense. I think the code leverage opportunities will emerge more organically once we start iterating on the React app, thanks for offering to guide us on that @cptran777! |
42821bf
to
762ce4a
Compare
+1! I've called that out explicitly in the FAQs. Agree we should try to share as much as possible w.r.t. UI components! This doc is not intended to get into specific impl details, so let's chat more offline and make sure we consider this as we iterate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the comments.
|
Rendered: https://github.com/linkedin/datahub/blob/762ce4a0dcf20ab8ad413f22373dcefcd1ceff3a/docs/rfc/active/react-app/README.md
~ This PR includes a proposal to introduce a React application to be incubated within DataHub ~
Checklist