received

Invoked after the component receives props.

Example

import { Component } from "combo-js";

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

Example.mount(document.getElementById("root"), {
    name: "Combo"
});

Last updated