This section contains specific rules for React

JSX Syntax

Always use JSX syntax.

No Mixins

Do not use mixins!

Mixins introduce implicit dependencies, cause name clashes, and cause snowballing complexity. Most use cases for mixins can be accomplished in better ways via components, higher-order components, or utility modules. Facebook announced that mixins are considered to be harmful.

No isMounted

Do not use isMounted!

isMounted is an anti-pattern, it is not available when using ES6 classes, and is going to be officially deprecated.

results matching ""

    No results matching ""