Module: index

Source:

Methods


<inner> render(component, element, store)

render the passed component with the provided store

Parameters:
Name Type Description
component ReactElement

component to render in element

element HTMLElement

HTML element to render Component inside of

store Object

redux store to pass to all components

Source:
Example
import {
 render
} from 'arco';

import App from './App';
import store from './store';

render((
 <App/>
), document.querySelector('#app'), store);