facebook pixelCodiga Analysis TypeScript Rules
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
      High

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

      Learn more

      react/jsx-no-useless-fragment

      Performance
      High

      Disallow unnecessary fragments

      react/no-did-update-set-state

      Performance
      High

      Prevent usage of setState in componentDidUpdate

      unicorn/no-array-reduce

      Performance
      High

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