unmounted
Invoked after the component was unmounted.
Example
import { Component } from "combo-js";
const Example = new class extends Component {
mounted() {
this.unmount();
}
unmounted() {
console.log("The component was unmounted.")
}
}();
Example.mount(document.getElementById("root"));
<div id="root"></div>