purescript-react/purescript-react-basic

Move `text` out of DOM modules

maddie927 opened this issue · 1 comments

React.Basic.DOM.text is probably a general rule of React/JSX and not DOM specific. For example, React.Basic.Native uses this function as well but cannot import the existing one from the DOM module.

Avoiding redefining text in separate implementations is probably not worth a breaking API change, since it's just a coerce anyway.