-
Notifications
You must be signed in to change notification settings - Fork 65
towards react-16 #102
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
Comments
Another option is to make the type of |
Do you mean sth like this:
The problem with this approach is that it's not backward compatible, but maybe that's fine. |
And I got this warning while running js generated by thermite. |
@suzumiyasmith I think that should have been addressed by #99 |
Merged
Closed by #109 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
React 16 will allow to return arrays (or maybe even more general iterators) from within render method. We can have a few choices how to support that.
wrap :: Array ReactElement -> ReactElement
which would be justunsafeCoerce
The second choice would easier to adopt in existing projects, the first one would break a lot of classes. We could add a new type to avoid that though.
The text was updated successfully, but these errors were encountered: