Closed
Description
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.
- using variants in render codomain
- or adding a function of type
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.
Metadata
Metadata
Assignees
Labels
No labels