facebook pixelCodiga Analysis TypeScript Rules, category performance
BACK TO LIST

TypeScript rules

The Codiga Static Analysis engine checks TypeScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.

react/jsx-no-bind

Performance
Error

Disallows .bind() or Arrow Functions in JSX Props as it can be bad for performance

Learn more

react/jsx-no-useless-fragment

Performance
Error

Disallow unnecessary fragments

react/no-did-update-set-state

Performance
Error

Prevent usage of setState in componentDidUpdate

unicorn/no-array-reduce

Performance
Error

Disallow Array#reduce() and Array#reduceRight() as usually result in hard-to-read and less performant code.

@next/next/no-page-custom-font

Performance
Warning

The custom font you're adding was added to a separate component within Document - this disables automatic font optimization.

@next/next/no-sync-scripts

Performance
Error

Synchronous scripts should not be used