-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Redux-form bundle Size #890
Comments
|
@erikras Just remove This is the current out put. I ran simple form example.
|
@erikras Hope , that is what you are looking for. |
Just a good tip for you, checkout this: https://github.com/robertknight/webpack-bundle-size-analyzer And keep in mind that when you use --optimize-dedupe in the production build the react and js-core modules is mostly shared with all your other modules. |
The output from the
Not much fat to trim, if you ask me. |
I have not tried it , I don't know whether this is possible or not. Can we include only thing that we used from redux-form ? Like import Field from 'redux-form/lib/Field'; In above case , say My project doesn't use ArrayField so I don't import that in a bundle. |
That will probably work, but you're really talking about a very small savings. |
@erikras Yes, That is true. Do you have any other idea which can reduce ? |
You could reduce your concern in a few extra kilobytes. 😆 Seriously, though, if you want performant solid software, you've got to download it. Do you really have extremely restrictive bundle requirements, or are you prematurely optimizing? |
@erikras Nope , Just curious if we could do..and your reference link changed my thinking as well 😄 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi @erikras @ooflorent ,
I am just keeping this for understanding if there are ways to avoid this thing. When we see bundles size of
redux-form.min.js
that is around ~75kb. I feel that is too much.The text was updated successfully, but these errors were encountered: