ghcjs-react
ghcjs-react copied to clipboard
Consolidate ReactText into ToReactNode, and shorten toReactNode to node
plus rename text'
to text
and move the non-overlapping instances of 'ReactText' over.
so, in the end it would be:
class ToReactNode a where node :: a -> ReactNode
text :: JSString -> ReactNode