You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
uix now pulls in expound and cljs/spec and cljs/pprint, doubling our bundle size
Include minimal repro
Any project using 1.3
Expected behavior
Not having these dependencies unless we use the functionality
Additional context
One of the main reasons we switched to UIX was to reduce the bundle size, which it did (130k -> 70k from reagent). However, uix now pulls in a bunch of dependencies, like preo, which pulls in expound, and pprint and spec.alpha. We do not use any of the new prop validations and our bundle size is now bigger than when we were using reagent. Is there a way to make these libraries optional? Otherwise we will have to stay on an older version of uix forever. Thanks!
The text was updated successfully, but these errors were encountered:
Describe the bug
uix now pulls in expound and cljs/spec and cljs/pprint, doubling our bundle size
Include minimal repro
Any project using 1.3
Expected behavior
Not having these dependencies unless we use the functionality
Additional context
One of the main reasons we switched to UIX was to reduce the bundle size, which it did (130k -> 70k from reagent). However, uix now pulls in a bunch of dependencies, like preo, which pulls in expound, and pprint and spec.alpha. We do not use any of the new prop validations and our bundle size is now bigger than when we were using reagent. Is there a way to make these libraries optional? Otherwise we will have to stay on an older version of uix forever. Thanks!
The text was updated successfully, but these errors were encountered: