canUpdate
Invoked before the update process.
Parameters
Returns
Example
const Example = new class extends Component {
created() {
this.update({});
}
canUpdate() {
return false;
}
updating() {
console.log("This life cycle method will never fire.");
}
}();
Example.mound(document.getElementById("root");<div id="root"></div>Last updated