elixir_script_react v16.2.0 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