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

refactor: make context.tsx tree-shakeable #573

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

agilgur5
Copy link
Contributor

Motivation

Modifications

  • Individually import NotificationsApi and PopupApi from their respective components instead of the non-treeshakeable components import

  • also fixup some style in the order of imports and whitespace

- `components/` is not tree-shakeable, so importing it makes this file also not tree-shakeable
  - similar to my PR upstream and for the Storybook here to use individual imports

Signed-off-by: Anton Gilgur <[email protected]>
@agilgur5 agilgur5 requested a review from tczhao July 21, 2024 03:47
@crenshaw-dev crenshaw-dev merged commit a7b01f9 into argoproj:master Aug 22, 2024
5 checks passed
@agilgur5 agilgur5 deleted the refactor-tree-shake-context branch August 22, 2024 20:44
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