Atribut HTML Pass untuk bereaksi
<div id="container" data-title="Hello" data-name="World">
<!-- This element's contents will be replaced with your component. -->
</div>
--------------------------------------------------------------------------
var Hello = props => (
<div>{ props.title}, { props.name }</div>
);
var root = document.getElementById('container');
ReactDOM.render(
<Hello {...(root.dataset)} />,
root
);
Av3