== Why is this an issue? :noncompliant: javascript/noncompliant.adoc :compliant: javascript/compliant.adoc include::../description.adoc[] === Exceptions This rule does not apply in JSX expressions to support conditional rendering and conditional attributes. [source,javascript] ---- return ( <> {isLoading ? ( ) : ( {isEditing ? 'Close now' : 'Start now'} !saving) : null} /> )} ); ---- == Resources === Articles & blog posts * Sonar - https://www.sonarsource.com/blog/stop-nesting-ternaries-javascript/[Stop nesting ternaries in JavaScript] ifdef::env-github,rspecator-view[] ''' == Implementation Specification (visible only on this page) include::../message.adoc[] include::../highlighting.adoc[] ''' == Comments And Links (visible only on this page) include::../comments-and-links.adoc[] endif::env-github,rspecator-view[]