We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
children for <>, React.Fragment, React.StrictMode and React.Suspense are typed as 'children instead of React.element.
children
<>
React.Fragment
React.StrictMode
React.Suspense
'children
React.element
This allows to compile incorrect code that breaks at runtime like
@react.component let make = () => { <React.Suspense> 1 </React.Suspense> }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
children
for<>
,React.Fragment
,React.StrictMode
andReact.Suspense
are typed as'children
instead ofReact.element
.This allows to compile incorrect code that breaks at runtime like
The text was updated successfully, but these errors were encountered: