moize
moize copied to clipboard
[Feature Request] Tree-shakeable API
Not sure if you ever considered it but the way moize APIs are structured it's impossible to tree shake them. For example I don't use React and would be nice if it was possible for tooling to remove some unused features.
In order for APIs to be tree shakeable some of the features should be provided in the form of free-form functions. For example moizeReact
vs moize.react
. Or some other form of composable functions.
Obviously it's a matter of convenience vs gain but perhaps something worth considering.