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

Removes trivial lodash #94

Open
wants to merge 1 commit into
base: v0.7.x
Choose a base branch
from

Conversation

danielmitre
Copy link

Description

Removes Lodash dependencies (all but lodash.snakeCase) that are easily replaceable by an one-line function and/or some ES6 feature. This aim to reduce the SDK bundle size, which it does (from 130Kib to 95.8Kib minimized without compression).

Most of changes were made writing a similar function just the complex enough to make the job done. Except for the startUserPlayback refactoring, but I can do the same there.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@danielmitre
Copy link
Author

I kept this as a draft because I don't know if I should include a CHANGELOG.md update in the PR

@danielmitre danielmitre marked this pull request as ready for review August 22, 2020 01:07
@danielmitre
Copy link
Author

I saw this failed coming, but still can't replicate the failure in my local environment

@danielmitre danielmitre force-pushed the removes-trivial-lodash branch 2 times, most recently from 73c44fa to a169830 Compare August 22, 2020 01:45
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

1 participant