News for hackers. Stuff that matters.
Re:Advice on JSX Conditionals by hombre_fatal on Wednesday March 09, 2022 @11:33PM (#30623250)
Yes, my example is trivial, but if-else can easily outgrow the ternary. The do-expression lets you embed arbitrary statements.

There are no comments on this comment yet.