Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
glennsl
on Oct 29, 2017
|
parent
|
context
|
favorite
| on:
Reason 3
Unfortunately not. It's an inseparable part of the Reason syntax. You can however use either the desugared form:
([@JSX] div(~foo=bar, ~children=[child1, child2], ()));
Or a preprocessor that'll give you a JSX-like syntax, but without the type checking:
https://github.com/cxa/ppx_bsx
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: