mounting

Invoked before the component is mounted.

Example

import { Component } from "combo-js";

const Example = new class extends Component {  
    mounting() {
        console.log("The component will mount.")
    }
}();

Example.mount(document.getElementById("root"));

Last updated