Module
ReactDOM
- Package
- purescript-react-dom
- Repository
- purescript-contrib/purescript-react-dom
#render Source
render :: forall eff. ReactElement -> Element -> Eff (dom :: DOM | eff) (Maybe ReactComponent)Render a React element in a document element. Returns Nothing for stateless components.
#unmountComponentAtNode Source
unmountComponentAtNode :: forall eff. Element -> Eff (dom :: DOM | eff) BooleanRemoves a mounted React element in a document element. Returns true if it was unmounted, false otherwise.
#findDOMNode Source
findDOMNode :: forall eff. ReactComponent -> Eff (dom :: DOM | eff) ElementFinds the DOM node rendered by the component.
#renderToString Source
renderToString :: ReactElement -> StringRender a React element as a string.
#renderToStaticMarkup Source
renderToStaticMarkup :: ReactElement -> StringRender a React element as static markup string without extra DOM attributes.
- Modules
- ReactDOM