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

Split into separate files #46

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

heyAyushh
Copy link
Contributor

@heyAyushh heyAyushh commented Aug 28, 2024

Problem

  • code was all in one place, hard to read
  • functions weren't reusable
  • updating was a pain
  • tree shaking wasn't working well, leading to big bundles

Solution

  • split functions into separate files for better organization
  • made functions reusable across the library
  • easier to update and maintain
  • improved tree shaking for smaller bundles

this change makes the code cleaner and faster.

@mikemaccana mikemaccana changed the title refactored index.ts Split into separate functions Aug 29, 2024
@mikemaccana mikemaccana changed the title Split into separate functions Split into separate files Aug 29, 2024
@mikemaccana mikemaccana merged commit a6ed39c into solana-developers:main Aug 29, 2024
1 check passed
@mikemaccana
Copy link
Contributor

great work @heyAyushh !

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