Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jakelazaroff
12 months ago
|
parent
|
context
|
favorite
| on:
Second-Guessing the Modern Web (2020)
Not sure why this is getting downvotes. Ternaries are at best a necessary evil in JSX. We'll all be rejoicing when pattern matching finally lands in JS [1].
[1]
https://github.com/tc39/proposal-pattern-matching
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://github.com/tc39/proposal-pattern-matching