Invoked before the component is mounted.
import { Component } from "combo-js"; const Example = new class extends Component { mounting() { console.log("The component will mount.") } }(); Example.mount(document.getElementById("root"));
<div id="root"></div>
Last updated 6 years ago