Skip to content

Remove lodash dependency#13

Open
screeny05 wants to merge 24 commits intomacor161:masterfrom
screeny05:master
Open

Remove lodash dependency#13
screeny05 wants to merge 24 commits intomacor161:masterfrom
screeny05:master

Conversation

@screeny05
Copy link

This PR attempts to remove lodash as a dependency while still retaining 100% compatibility with previous versions of this package.

This is accomplished by replacing smaller utilities with direct typeof-checks. Bigger utilities have been copied from the lodash-source itself.

This PR will drastically reduce bundle-size, as can be seen on bundlephobia.

I hope this PR will get accepted so we can rid the world of lodash.

Cheers,
Sebastian

@macor161 macor161 self-requested a review January 20, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants