Closed
Description
Syntax
- Add support for empty record type (e.g.
type empty = {}
) Support {} for empty record literals and types. rescript#5658
JSX v4
- Props spread
<div {...props} />
- Share props type between components JSX v4 shared props syntax#699
type sharedProps = { x: string, y: string, } module A = { @react.component(:sharedProps) let make = (~x, ~y) => React.string(x ++ y) } module B = { @react.component(:sharedProps) let make = (~x, ~y) => React.string(x ++ y) }