update
Update a mounted component then re-render it.
Parameters
Example
import { Component } from "combo-js";
const Example = new class extends Component {
created() {
this.update({});
}
updated() {
console.log("The component was updated.")
}
}();
Example.mount(document.getElementById("root"));
<div id="root"></div>