You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look like there's an existing eslint rule for this, but there's some code here which we may be able to incorporate as a custom rule: jsx-eslint/eslint-plugin-react#2888
See convo here: #26 (comment)
It doesn't look like there's an existing eslint rule for this, but there's some code here which we may be able to incorporate as a custom rule: jsx-eslint/eslint-plugin-react#2888
For more on why we want to avoid this pattern, see here: https://kentcdodds.com/blog/use-ternaries-rather-than-and-and-in-jsx
The text was updated successfully, but these errors were encountered: