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

Remove lodash from dependencies #249

Merged
merged 14 commits into from Jun 13, 2021
Merged

Conversation

pablopalacios
Copy link
Contributor

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) to 97.053% when pulling a1c451b on pablopalacios:remove-lodash into 3be373f on yahoo:master.

@redonkulus
Copy link
Contributor

What was the reason for removing lodash?

@pablopalacios
Copy link
Contributor Author

pablopalacios commented Jun 13, 2021

@redonkulus sorry, my fault. The main reason is bundle size. In the end, even with the specific function imports that were being used, ~25kb of lodash was still flowing into a bundle with fetchr.

Here is the fluxible todo app example with and without fetchr:

2021-06-13-103020_1368x768_scrot

2021-06-13-102949_1368x768_scrot

Copy link
Contributor

@redonkulus redonkulus left a comment

Choose a reason for hiding this comment

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

Assuming the picker changes are well tested

@redonkulus redonkulus merged commit 9088f8e into yahoo:master Jun 13, 2021
@pablopalacios pablopalacios deleted the remove-lodash branch June 13, 2021 18:08
@pablopalacios
Copy link
Contributor Author

@redonkulus Could we have a release of this one?

@redonkulus
Copy link
Contributor

@pablopalacios fetchr@0.5.42 is published now

@pablopalacios
Copy link
Contributor Author

And it's live in our systems, working like a charm ;).

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.

None yet

3 participants