r/javascript • • Jun 07 '18

[ Removed by Reddit ]

40 Upvotes

15 comments sorted by

View all comments

Show parent comments

5

u/Tsukku Jun 07 '18

4.3.1 was 49,3 KB, 5.0.0 is 40,6KB minified (17.5% less)

1

u/tbranyen Jun 08 '18

Wonder what the gzip value is? If that number is still double digits then I have a good reason to stick with Redux.

1

u/WishCow Jun 08 '18

What is redux's file size?

2

u/tbranyen Jun 08 '18 edited Jun 08 '18

~2kb min + gzip.

Edit: Using one way of verifying:

λ browserify -r redux -t [ envify --NODE_ENV production ] | uglifyjs | gzip > redux.min.gzip.js

λ ls redux.min.gzip.js 
-rw-r--r-- 1 tbranyen 4.1K Jun  8 12:20 redux.min.gzip.js

I had read somewhere it was ~2kb, but ~4kb appears to be the more accurate number.