purescript-contrib/purescript-react

export `childrenToArray`

coot opened this issue · 2 comments

coot commented

In a library I created a functional react component which has access to context, and I need to use childrenToArray (https://github.com/coot/purescript-react-redox/blob/master/src/React/Redox.purs#L223). Would it be fine to export it.

I found a way to use createClassStateless but in a dynamic way which forces re-mounts.

ethul commented
paf31 commented

Yeah, seems fine.