Outsource Collection into a separate package
bennoinbeta opened this issue Β· comments
Benno commented
π Feature Request
β Is your feature request related to a problem?
Big bundle size π
π Describe the solution you'd like
I would like to install the Collection as a separate package when I really need it.
π Describe alternatives you've considered
Life with a larger bundle size, although I don't need the Collection feature.
Benno commented
π© Pros
- smaller bundle size
- more encapsulation
π₯ Cons
- No Collection type safety in integrations like React (
useAgile()
) - No way to offer a type safe
App.createCollection()
Benno commented