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
This isn't a huge deal because redux is pretty small, but i'm working on vdux, which currently wraps redux and only uses a small portion of the bundled API. At the moment, redux is my single largest dependency, and i'm only really using applyMiddleware and createStore.
Reduces the size of the redux dep to about 1/4 of what it is normally. I can just do this for now, but it feels sort of unsupported and like something that may break in the future, unannounced. What i'd like is to be able to have an official thing like:
What we should do is move all top-level exports to src from src/utils. We will support importing from lib/ folder directly for top-level exports. Want to make a PR for that?
This isn't a huge deal because redux is pretty small, but i'm working on vdux, which currently wraps redux and only uses a small portion of the bundled API. At the moment, redux is my single largest dependency, and i'm only really using
applyMiddleware
andcreateStore
.Requiring only those files, like this:
Reduces the size of the redux dep to about 1/4 of what it is normally. I can just do this for now, but it feels sort of unsupported and like something that may break in the future, unannounced. What i'd like is to be able to have an official thing like:
So that people like me who aren't using the other helper functions can avoid the bloat.
The text was updated successfully, but these errors were encountered: