We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
React.createElement
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
JSX, spread, React.createElement
5.1
Playground link with relevant code
<Comp right={<div>x</div>} {...{ wrong: <div>x</div>}}/>
React.createElement(Comp, { right: React.createElement("div", null, "x"), wrong: <div>x</div> });
Works with version 5.0.4
React.createElement(Comp, Object.assign({ right: React.createElement("div", null, "x") }, { wrong: React.createElement("div", null, "x") }));
The text was updated successfully, but these errors were encountered:
Probably a duplicate of #54411 (see last comment)
Sorry, something went wrong.
Just hit this bug when upgrading to 5.1. Also in 5.2.0 beta
Ensure all properties get visited. Fixes microsoft#54984
54994b2
RyanCavanaugh
Successfully merging a pull request may close this issue.
Bug Report
π Search Terms
JSX, spread, React.createElement
π Version & Regression Information
5.1
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
π Expected behavior
Works with version 5.0.4
The text was updated successfully, but these errors were encountered: