UNPKG

radi

Version:

**Radi** is a tiny javascript framework.

14 lines (9 loc) 380 B
## Mount Mount is a function that will mount anything that [view](#view) returns ([Hyperscript](#hyperscript)/JSX nodes, DOM Nodes, Component or Array of these three) to any DOM node. This is how we mount our Apps root component to DOM. ```jsx import { r, mount, Component } from 'radi'; class MyComponent extends Component { ... } mount(<MyComponent />, document.body) ```