{"library":"eslint-plugin-react-perf","type":"library","category":null,"description":"eslint-plugin-react-perf is an ESLint plugin designed to identify and prevent common performance anti-patterns in React applications. It specifically targets situations where new object, array, function, or JSX literals are passed directly as props, which can lead to unnecessary re-renders in components using `React.memo` or `PureComponent` due to shallow comparison failures. The current stable version is 3.3.3. While the README doesn't explicitly state a release cadence, new features and bug fixes appear to be released as needed. Its key differentiator is its focused approach on these specific 'new literal as prop' performance issues, providing a direct solution to a common React optimization pitfall, particularly useful in larger applications or performance-critical components. It provides both `recommended` and `all` configurations for easy setup.","language":"javascript","status":"active","version":"3.3.3","tags":["javascript","react","eslint","eslintplugin","eslint-plugin","perf"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-react-perf","imports":["import reactPerfPlugin from 'eslint-plugin-react-perf';","\"plugins\": [\"react-perf\"]","\"extends\": [\"plugin:react-perf/recommended\"]","reactPerfPlugin.configs.flat.recommended"]},{"cmd":"yarn add eslint-plugin-react-perf","imports":[]},{"cmd":"pnpm add eslint-plugin-react-perf","imports":[]}],"homepage":null,"github":"https://github.com/cvazac/eslint-plugin-react-perf","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-react-perf","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-react-perf/compatibility"}}