Lifecycle Methods

Lifecycle methods can be overwritten to execute code at a particular time in a process.

Example

import { Component } from "combo-js";

const Example = new class extends Component {  
    created() {
        console.log("The component was created.")
    } 
}();

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

Processes

Creation Process

created

Mounting Process

receivingreceivedcanMountmountmounted

Unmounting Process

unmountingunmounted

Updating Process

canUpdateupdatingupdated

Rendering Process

rendered

Last updated