Skip to content
New issue

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

Removal of React.__spread has broken compatibility with TypeScript and older Babel transpilers #6457

Closed
BernieSumption opened this issue Apr 8, 2016 · 1 comment

Comments

@BernieSumption
Copy link

If you use TypeScript or an older version of babel, React 15.0.0 yields errors "React.__spread is not a function".

See this issue: microsoft/TypeScript#7959

Applications can monkey patch a backwards compatible React.__spread function, but it would be preferable for React to come with a compatibility shim function.

@gaearon
Copy link
Collaborator

gaearon commented Apr 8, 2016

We are bringing it back until React 16.
The fix will be out in 15.0.1 today.
#6444

@gaearon gaearon closed this as completed Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants