Skip to content

Conversation

@StringEpsilon
Copy link
Contributor

@StringEpsilon StringEpsilon commented Apr 6, 2019

I forked create-router-context because I saw that the package didn't see much activity anymore and had some obvious tweaks to be made.

original mini
bundled sized 1.4kB minzip 1.2kB minzip
install size 2.45 mB 32kB

See also the install-size of RR. and how it's gone way up with 5.0

@timdorr
Copy link
Member

timdorr commented Apr 7, 2019

That's just Bundlephobia using a naive logic of calculating bundle size. Our builds are actually smaller now:

https://unpkg.com/react-router-dom@5.0.0/umd/
https://unpkg.com/react-router-dom@4.3.1/umd/

And that's just the worst case, un-tree-shook scenario. Michael did a lot of research on this prior to release, so it's simply a false report.

Anyways, this looks good to me. We should be able to drop the polyfill with the next major anyways. Thanks!

@timdorr timdorr merged commit 992af48 into remix-run:master Apr 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants