Skip to content

Conversation

@aimensahnoun
Copy link
Member

@aimensahnoun aimensahnoun commented Jul 9, 2024

closes #41

Problem:

Currently, we publish the shared code between the packages into npm, leading us to have to version it and commit the version changes to all packages that use it. It also might lead to unoptimized bundling, which can bloat our packages.

Solution:

  • Implement Turborepo to add better control for monorepo
  • Eliminate the need for the shared package to be published
  • Lower bundle size for both packages

Create Invoice Form before and after:

form-before
form-after

Invoice Dashboard before and after:

dashboard-before

dashboard-after

@aimensahnoun aimensahnoun self-assigned this Jul 9, 2024
Copy link
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

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

Great work. Just a couple comments.

@aimensahnoun aimensahnoun marked this pull request as ready for review July 9, 2024 22:37
@aimensahnoun aimensahnoun requested a review from MantisClone July 9, 2024 22:37
@aimensahnoun aimensahnoun merged commit 6e3bac2 into main Jul 10, 2024
@aimensahnoun aimensahnoun deleted the tree-shaking branch July 10, 2024 11:27
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.

Eliminate unneeded dependencies and treeshake in the Create Invoice Form and Invoice Dashboard

4 participants