-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Description
https://bundlephobia.com/[email protected]
- self 41%
- lodash.curry 35%
- lodash.camelcase 20%
There are much smaller libraries with similar enough APIs
- lodash.curry 6.5kB
- just-curry-it 286B (more than 22x smaller)
- lodash.camelcase 4.6kB
- just-camel-case 401B (more than 11x smaller)
I put together a quick comparison: https://repl.it/@heygrady/camelcase
There was an older issue (#308) about some newer versions of dependencies not working in older browsers. However, that is an issue of bundling. If this package utilized something like rollup to bundle dependencies it wouldn't matter how the imported dependency was written.
It should be possible to make this package around 50% smaller by dropping these weighty dependencies and borrowing the bundling solution that the main redux library uses.
bboydflo
Metadata
Metadata
Assignees
Labels
No labels