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
The problem occurs when the component takes a function as children (like the "Consumer/Provider" component)
h(Provider, ({data}) => "Rendered ${data}")
Rendered ${data}
h(Provider, {}, ({data}) => "Rendered ${data}")
Specifically, I was trying it with the ClassNames component from Emotion.js and found it not working unless I add an empty prop object {}.
{}
This seems like a bug with phy.
phy
The text was updated successfully, but these errors were encountered:
Sorry, please ignore this issue. phy works as expected. There's no bug.
Sorry, something went wrong.
No branches or pull requests
The problem occurs when the component takes a function as children (like the "Consumer/Provider" component)
h(Provider, ({data}) => "Rendered ${data}")
=> renders nothing, expectedRendered ${data}
h(Provider, {}, ({data}) => "Rendered ${data}")
=> Successfully rendersRendered ${data}
Specifically, I was trying it with the ClassNames component from Emotion.js and found it not working unless I add an empty prop object
{}
.This seems like a bug with
phy
.The text was updated successfully, but these errors were encountered: