updating
Invoked before the component is updated.
Parameters
prev : object - The previous data.
Example
import { Component } from "combo-js";
const Example = new class extends Component {
created() {
this.update({});
}
updating() {
console.log("The component will update.")
}
}();
Example.mount(document.getElementById("root"));
<div id="root"></div>