Skip to content

Conversation

@ofir-frd
Copy link

@ofir-frd ofir-frd commented Jan 8, 2026

Benchmark PR langgenius#30246

Type: Clean (correct implementation)

Original PR Title: feat(web): migrate from es-toolkit/compat to native es-toolkit (langgenius#30244)
Original PR Description: Migrate some files from es-toolkit/compat to native es-toolkit.

Migrated:

  • noop → es-toolkit/function
  • cloneDeep, omit, clone, pick → es-toolkit/object
  • uniq, intersection → es-toolkit/array
  • capitalize, camelCase, kebabCase, escape → es-toolkit/string
  • isEqual → es-toolkit/predicate

Kept in compat (API differences):

  • uniqueId, isEmpty
  • get, merge, flow, curry, debounce - different APIs
  • uniqBy, groupBy, intersectionBy - property string support
  • flatten - undefined handling

Benefits: 2-3x faster, smaller bundle

Another:

  • Remove lodash dependency in web/

Part of langgenius#30243
Fixes langgenius#30244

Original PR URL: langgenius#30246

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.

2 participants