eclipsesource / eclipsesource/jsonforms

Get rid of lodash and swap it out for lodash-es

Open
#2,311 6 comments 4 reactions 0 assignees View on GitHub
dev help wanted
Dominant language
TypeScript
Stars
2.7k
Forks
424
Avg merge
17d 8h
Merged PRs (30d)
1

Description

### Is your feature request related to a problem? Please describe.

The CJS build of lodash is old and not very well optimized for web use cases (hard to tree-shake). So far I've been able to alias `lodash` to `lodash-es` in my build config, but then you recently introduced calls to `lodash/fp` which basically broke all of that.

That was a bad call IMO and just made it more of a chore to get your library working in web environments, especially if you don't want to bundle in all of lodash.

### Describe the solution you'd like

Get rid of lodash usages and swap them all out for lodash-es

### Describe alternatives you've considered

Doesn't have to be lodash-es necessarily, just something new that has a proper tree-shakeable ESM build

### Framework

Vue

### RendererSet

Vanilla

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.