JSX is a first-class citizen in ReScript. No decorators required for JSX. Only required for React component function signature.
Because a programming language is not a template engine.
Re:From TypeScript to ReScript
by scrollaway on Wednesday January 12, 2022 @08:10AM
(#29905879)
Neither is jsx. It’s just syntactic sugar for some recursive function calls.
Neither is rescript - so why not make jsx a first class citizen?