Skip to content
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

Separate a comparisons table component and use it in compile and runtime tabs #1672

Closed
wants to merge 1 commit into from

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jul 27, 2023

Refactoring to reduce the amount of duplicated code in the compare page.

@Kobzol Kobzol requested a review from lqd August 3, 2023 09:37
@Kobzol
Copy link
Contributor Author

Kobzol commented Aug 5, 2023

I would still be glad for your opinion, but on second thought, maybe this is just forcing an abstraction where it doesn't belong and we shouldn't do this. If we wanted to add new complex behavior to the individual tables (and I have some ideas here), then it would be quite complicated to keep this as a unifie component.

@lqd
Copy link
Member

lqd commented Aug 5, 2023

We can keep them separate to allow for parallel evolution until we know it would be helpful to regroup them: if we ever have to add features to a common core a few times, then we'd add the abstraction less prematurely and reduce duplication.

@Kobzol
Copy link
Contributor Author

Kobzol commented Aug 5, 2023

I agree. Closing this for now.

@Kobzol Kobzol closed this Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants