purescript-contrib/purescript-react

Children should be a ReactRender instance

natefaubion opened this issue · 2 comments

Likewise, getChildren should just yield Children.

Maybe this is related:

createClassStateless' :: forall props render.
ReactRender render =>
(props -> Array ReactElement -> render) -> ReactClass props

Children here is Array ReactElement but maybe it should be another ReactRender instance?

ethul commented

Closing. Fixed via #137