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 and reduce code to allow for a smaller bundle size #100

Open
TremayneChrist opened this issue Mar 4, 2020 · 1 comment
Open
Labels
v4 Add to version 4 of the library
Milestone

Comments

@TremayneChrist
Copy link
Member

Supporting added ResizeObserver features and improving the library, has increased the bundle size. As the specification is now at a stable state, it could be a good time to refactor and streamline the code.

Size: 2.8KB, minified and gzipped.
Goal: <=2.5KB, minified and gzipped.

https://bundlephobia.com/result?p=@juggle/resize-observer

@TremayneChrist TremayneChrist added the v4 Add to version 4 of the library label Mar 4, 2020
@TremayneChrist TremayneChrist added this to the v4 milestone Mar 4, 2020
@TremayneChrist TremayneChrist changed the title Refactor to reduce bundle size Refactor and reduce code to allow for a smaller bundle size Mar 4, 2020
@TremayneChrist
Copy link
Member Author

Would also be happy with staying around 2.8KB with all the additional features for v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4 Add to version 4 of the library
Projects
None yet
Development

No branches or pull requests

1 participant