Skip to content

Replace lodash with native implementations and modernise code patterns#258

Open
AlexanderKaran wants to merge 2 commits into
masterfrom
perf-eslint
Open

Replace lodash with native implementations and modernise code patterns#258
AlexanderKaran wants to merge 2 commits into
masterfrom
perf-eslint

Conversation

@AlexanderKaran
Copy link
Copy Markdown
Collaborator

https://e18e.dev recently dropped an ESLint Plugin:

The official e18e ESLint plugin for code modernization and performance best practices - e18e/eslint-plugin

I temp upgrade ESLint so I could use the plugin and identify issues and then un-did ESLint upgrades. Happy to do a follow up PR upgrading ESLint to the latest version.

Dependencies Removed

  • lodash.debounce → Native implementation
  • lodash.noop → Native implementation
  • @types/lodash.debounce
  • @types/lodash.noop

Code Modernization

  • Spread Syntax
  • Object.hasOwn()
  • Timer Args
  • Nullish Coalescing
  • fromEntries polyfill

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 20, 2025

🦋 Changeset detected

Latest commit: 88d6719

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-resource-router Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant