jsx-no-leaked-render
causes code to be incorrect by removing parentheses
#3498
Labels
jsx-no-leaked-render
causes code to be incorrect by removing parentheses
#3498
This has an entirely different meaning. My original code was hiding everything if
maybeObject
wasundefined
. The new code will display<Bbb />
instead.To show how absurd this is, in other spot in my codebase, the
else
condition of the ternary was alsomaybeObject
. This meant that my new code had a runtime error.The text was updated successfully, but these errors were encountered: