0.0.9 • Published 2 years ago

@jankuca/eslint-plugin-react-usecallback v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-react-usecallback

Rationale: Why we memo all the things.

Why the fork?

The original forked plugin (eslint-plugin-react-memo) also checks this using the require-usememo-children rule but the rule is too strict about JSX used as children (the most common thing in React) and has not way to select which of the actual children prop rules apply.

Rules

require-usecallback-props (ADVANCED)

Requires functions that get passed to children as props to be wrapped in React.useCallback().

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago