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

Use named exports across codebase #976

Merged
merged 6 commits into from
Jan 11, 2024
Merged

Use named exports across codebase #976

merged 6 commits into from
Jan 11, 2024

Conversation

Skaiir
Copy link
Contributor

@Skaiir Skaiir commented Jan 10, 2024

Closes #918

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Jan 10, 2024
@Skaiir Skaiir requested a review from vsgoulart January 11, 2024 08:29
@Skaiir Skaiir marked this pull request as ready for review January 11, 2024 08:29
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Jan 11, 2024
@Skaiir Skaiir removed the request for review from vsgoulart January 11, 2024 08:29
@Skaiir Skaiir marked this pull request as draft January 11, 2024 08:29
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed needs review Review pending labels Jan 11, 2024
@Skaiir Skaiir force-pushed the fix-form-reactivity branch from 704b5b7 to 293a941 Compare January 11, 2024 09:30
@Skaiir Skaiir force-pushed the no-default-imports branch from a1286b1 to 8053454 Compare January 11, 2024 09:32
Base automatically changed from fix-form-reactivity to master January 11, 2024 10:40
@Skaiir Skaiir force-pushed the no-default-imports branch from 8053454 to 485a9e1 Compare January 11, 2024 10:44
@Skaiir Skaiir requested a review from vsgoulart January 11, 2024 10:50
@Skaiir Skaiir marked this pull request as ready for review January 11, 2024 10:50
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Jan 11, 2024
@Skaiir Skaiir changed the title Use named exports in viewer Use named exports across codebase Jan 11, 2024
export { default as useDeepCompareState } from './useDeepCompareState';
export { default as useSingleLineTemplateEvaluation } from './useSingleLineTemplateEvaluation';
export { default as useTemplateEvaluation } from './useTemplateEvaluation';
export { useCondition } from './useCondition';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI in the future we should reconsider the use of these barrel files. They are very bad for performance and makes tree-shaking harder/impossible

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely worth an investigation at the very least. But it's pretty much the standard across all bpmn.io libs so we might want to discuss it with at least Nico.

@Skaiir Skaiir merged commit 0f043bd into master Jan 11, 2024
12 of 13 checks passed
@Skaiir Skaiir deleted the no-default-imports branch January 11, 2024 11:54
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jan 11, 2024
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