eslint-plugin-react-memo
eslint-plugin-react-memo copied to clipboard
memo/useMemo/useCallback all the things!
 Types like: - number - string - null - undefined should not be candidate for Memo, as they're not referencial types.  (Only colSpan is incorrect in this sample,...
This package was tackling an important problem in react's ecosystem but it has been abandoned for some time now, that's why I've forked, fixed and re-released the package [here](https://github.com/arthurgeron/eslint-plugin-react-usememo). Now...
I would love to use this lint rule, but its false positive rate is way to high currently. It seems any function within a jsx/tsx file is considered to be...
I added this test-case that demonstrates the error. When examining a `useCallback` or `useMemo` dependency defined not as a const, but as a let with no init value, the `getIdentifierMemoStatus`...

E.g. if a component is missing `React.memo` around it, `--fix` could add `import React from 'react'` and wrap the component with `React.memo`?
Can you please update the package? https://eslint.org/docs/latest/use/troubleshooting/v9-rule-api-changes There is useful utilities https://eslint.org/blog/2024/05/eslint-compatibility-utilities/