Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Use ECMAScript 2015 modules #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nifgraup
Copy link

Allows lodash to be replaced with lodash-es for smaller builds.

Allows lodash to be replaced with lodash-es for smaller builds.
@fionawhim
Copy link
Collaborator

Have you measured a size difference? The current build is already only requiring in the lodash functions it needs.

@MattyBalaam
Copy link

I don't think it will make a difference, on our app we found that manually importing using the lodash/function pattern was the most efficient.

@myanime
Copy link

myanime commented Oct 18, 2018

I think the PR als has the benefit that it updates the code a bit, makes it a bit easier to read. I read in the code style guide that you prefer the old style, but maybe it is time to change this?

@MattyBalaam
Copy link

I agree moving to modern syntax is good, I don't think you need to also move to lodash-es

@Natas0007
Copy link

How is this PR not merged or denied by now? Is velocity-react not maintained anymore?

@Hertz
Copy link

Hertz commented Jul 31, 2021

How is this PR not merged or denied by now? Is velocity-react not maintained anymore?

Anyone with an answer to this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants