Skip to content

Conversation

afonsojramos
Copy link
Member

@afonsojramos afonsojramos commented Oct 17, 2023

Small experiment of removal of lodash and emojione, our biggest culprits in terms of bundle size.

Regarding lodash, it is a no brainer. It removes almost 600Kb and it doesn't affect readability that much, if at all.
Regarding emojione, I'm a bit torn, because we would be relying on the OS render of the emojis, which means that emojis will look different depending on where it is running. Which reduces consistency (?)

Before

image

After

image

@afonsojramos afonsojramos force-pushed the chore/clean-dependencies branch from 40ad52e to a5e6b27 Compare October 18, 2023 00:42
@bmulholland
Copy link
Collaborator

On the other hand, maybe OS emojis will make it feel more natural in that environment? Hard to say.

We could try it. Easy to roll back :)

@afonsojramos afonsojramos merged commit 25ac94a into main Oct 18, 2023
@afonsojramos afonsojramos deleted the chore/clean-dependencies branch October 18, 2023 13:08
@setchy setchy added the dependency Dependency updates label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Dependency updates
Development

Successfully merging this pull request may close these issues.

3 participants