Supplemental TSLint rules for React performance best practices. Version 0.3.1 (latest). Inactive project; author recommends using React hooks (useMemo, useCallback) instead. Provides rules to prevent binding, lambdas, array/object literals in JSX props, enforce pure component patterns. Requires TypeScript and TSLint. No releases or updates since 2019.
npm install tslint-react-perfNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Enable all react-perf rules via tslint.json configuration inheritance and rule settings.
Migrate to eslint-plugin-react-hooks or rely on hooks for performance optimization.
Switch to ESLint with @typescript-eslint/parser and eslint-plugin-react.
Do not attempt to use with ESLint; only applicable in TSLint-based projects.
Run 'npm install tslint-react-perf --save-dev' or 'yarn add tslint-react-perf --dev'.
Add 'tslint-react-perf' to your extends array in tslint.json.