# Use If tag (jsx-use-if-tag) Use `If` tag instead of ternary operator. ## Rule Details The following patterns are considered warnings: ```js foo ?