You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannot read properties of undefined (reading 'licenseKeyValidityState')
29
+
```
30
+
31
+
This error occurs when Vue's reactivity system tries to deeply observe the HyperFormula instance. To fix this, wrap your HyperFormula instance in Vue's [`markRaw`](https://vuejs.org/api/reactivity-advanced.html#markraw) function:
32
+
33
+
```javascript
34
+
import { markRaw } from'vue';
35
+
import { HyperFormula } from'hyperformula';
36
+
37
+
consthfInstance=markRaw(
38
+
HyperFormula.buildEmpty({
39
+
licenseKey:'internal-use-in-handsontable',
40
+
})
41
+
);
42
+
```
43
+
44
+
This function prevents Vue from converting the HyperFormula instance into a reactive proxy, which can cause errors and performance issues.
0 commit comments