Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pitaj
on Jan 21, 2018
|
parent
|
context
|
favorite
| on:
Guide to JavaScript Frameworks
It is Javascript, but JSX brackets only allow an expression within them. Conditionals are statements in JS, so you have to wrap them in an IIFE or a `do`-expression.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: