Skip to content
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

Replace lodash.merge with deepmerge package #62

Merged
merged 4 commits into from
Dec 24, 2017
Merged

Conversation

dortzur
Copy link
Contributor

@dortzur dortzur commented Dec 22, 2017

Replacing lodash.merge with the deepmerge package significantly reduces bundle size.

https://bundlephobia.com/[email protected] (6.3kb gzipped)
https://bundlephobia.com/result?p=@dortzur/[email protected] (2.7kb gzipped)

Thanks for open sourcing this package by the way.

Copy link
Collaborator

@tizmagik tizmagik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

package.json Outdated
"name": "react-tracking",
"version": "5.1.0",
"name": "@dortzur/react-tracking",
"version": "5.2.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert these two lines please. I will update the version for next release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done :)

@dortzur
Copy link
Contributor Author

dortzur commented Dec 23, 2017

done! thanks!

@@ -1,5 +1,5 @@
{
"name": "react-tracking",
"name": "@dortzur/react-tracking",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert this as well please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Copy link
Collaborator

@tizmagik tizmagik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, thank you @dortzur !

@tizmagik tizmagik merged commit bf7bd12 into nytimes:master Dec 24, 2017
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