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
This is possibly a slightly unusual use-case, but the behaviour is still surprising.
<Badge>£10</Badge>
Probably similar to #296
The text was updated successfully, but these errors were encountered:
That's an unfortunate bug. Can you submit a PR with some tests for this use case?
Sorry, something went wrong.
My two cents into it:
That way
React.createElement(Badge, null, "£10")
it's working.
In my trash project which using browserify
browserify
it is also working.
But if I put jsx version straight into docs/examples/Badge.js and then
docs/examples/Badge.js
npm run docs open http://localhost:4000
it doesn't render.
I'll check the state of the issue after I'm finished that I'm already working with, and if it has no progress yet, I'll try to fix it.
Eugh, sorry, I screwed up my example. This is the actual failing case (renders empty).
<Badge>€{num}</Badge>
I'll do a PR with tests and a fix.
a3f9008
[fixed] Handle multiple children in Badge
e92a64b
Fixed by #532
No branches or pull requests
This is possibly a slightly unusual use-case, but the behaviour is still surprising.
Probably similar to #296
The text was updated successfully, but these errors were encountered: