elixir_script_react v1.0.2-react.15.6.1 ReactDOM

FFI Module for interacting with the ReactDOM JavaScript module.

Link to this section Summary

Functions

Renders a React Element to the given DOM container

Link to this section Functions

Link to this function render(element, container)

Renders a React Element to the given DOM container

ReactDOM.render(my_react_element, "#my_container")

Container is any value allowed by document.querySelector