Lifecycle methods can be overwritten to execute code at a particular time in a process.
Last updated 6 years ago
import { Component } from "combo-js"; const Example = new class extends Component { created() { console.log("The component was created.") } }(); Example.mount(document.getElementById("root"));
<div id="root"></div>