You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Babel does the exact same thing. This is expected and explained in detail in facebook/react#20031 (comment). The reasoning is all very React specific, so if you're using react-jsx with something that's not React, you might want to avoid key-after-spread.
π Search Terms
jsx, createElement, react-jsx
π Version & Regression Information
Latest version of TypeScript
β― Playground Link
https://www.typescriptlang.org/play/?jsx=4&ts=5.4.5#code/GYVwdgxgLglg9mABAFQKYGcoGlUE8AUADgIYBOxAtugFyIDeiA1nrZqTGAOaIC+AlLWJhc9HgCgxEBJkQlyVHCIC89Ji0QByOZQ28A3BKlh0cADaoAdKbid8AHjSZFa3EoBEwOHDf0Lf7Qp4PIgA9AB8fAZGJuZWNvaO2Hi+-mSU6IrBzK4eXj7hkUA
π» Code
π Actual behavior
Compiled into:
π Expected behavior
Compiled into:
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: