Skip to content

Conversation

srikanthkyatham
Copy link
Contributor

React.Component({}) syntax has changed to React.Component<{}>
At least for rescript version 9.12

React.Component({}) syntax has changed to React.Component<{}>
At least for rescript 9.12
@srikanthkyatham srikanthkyatham changed the title React.Component synctax change fix React.Component syntax change fix May 26, 2021
@srikanthkyatham
Copy link
Contributor Author

@srikanthkyatham srikanthkyatham changed the title React.Component syntax change fix React.Component syntax change fix in documentation May 26, 2021
@ryyppy ryyppy merged commit dcd5e77 into rescript-lang:master May 26, 2021
@ryyppy
Copy link
Member

ryyppy commented May 26, 2021

thanks! the <> are ReScript syntax, the () are old Reason syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants