Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Use ECMAScript 2015 modules#245

Open
nifgraup wants to merge 1 commit intogoogle-fabric:masterfrom
nifgraup:es6modules
Open

Use ECMAScript 2015 modules#245
nifgraup wants to merge 1 commit intogoogle-fabric:masterfrom
nifgraup:es6modules

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
Contributor

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