We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
children
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
ReScript version v12.0.0-alpha.14's "Missing required props" error does not show line numbers when the component has a children prop:
v12.0.0-alpha.14
module Wrapper = { @react.component let make = (~value: 'value, ~children: React.element) => { <div> {children} </div> } } module SomeComponent = { @react.component let make = () => { <Wrapper> <div> {""->React.string} </div> </Wrapper> } }
FAILED: Foo.cmj We've found a bug for you! /home/mediremi/test/Foo.res The component <Wrapper /> is missing these required props: value
(Playground link)
The text was updated successfully, but these errors were encountered:
I'll try to check your issues over the weekend. It most likely related to jsx ast.
Sorry, something went wrong.
Feels like some loc's have gone missing perhaps.
Yes, I bet this is similar too #7533
nojaf
Successfully merging a pull request may close this issue.
ReScript version
v12.0.0-alpha.14
's "Missing required props" error does not show line numbers when the component has achildren
prop:(Playground link)
The text was updated successfully, but these errors were encountered: