I wonder what is the common approach to call a function on the table instance as a reaction on a user interaction, aka hook.
Right now I solved it like this:
let table = {};
Handsontable.hooks.add("afterChange", function (changes) {
table.doSomething()
});
table = new Handsontable(container1, {
data,
formulas: {
engine
},
licenseKey: "non-commercial-and-evaluation"
});