Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Feature Request: Named JSX components

$
0
0

And by this, you can also rename it to something uppercase if you want, using an escaped identifier:

module WithRecord = {
  type props = {name: string}

  let \"WithRecord\" = props => {
    React.string(props.name)
  }

  let make = \"WithRecord\"
}

Viewing all articles
Browse latest Browse all 2592

Trending Articles