fiduswriter / simple-datatables

DataTables but in TypeScript transpiled to Vanilla JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Reactivity issue in table data in Vue3

mkraulich opened this issue · comments

I'm using the library in VUE3, but I'm having problems with the table's reactivity. After a long time, I discovered that until the last version 5 the library works perfectly with the latest version of Vue3 (3.3.4), if you update the library version to 6.0.0 or higher Vue3 will only work below version 3.2 .26.

The release description between version .26 and .27 contains a specific item that calls attention: 'reactivity-transform: should not rewrite for...in / for...of scope variables (7007ffb)' Why does the table lose its reactivity?

@mkraulich so you have just ignored the bug reporting template and not provided a ready made example? You are shifting a large workload gor a problem you are having onto me, who is doing this for free for you.
Based on your description it sounds like the issue is with Vue 3.2.27 rather than with this library. As long as Vue does not mess with the dom node that SDT is using, I don't see why it would be a problem.

I csn reopen if you can provide an example on jsfiddle or alike and show you have filed an issue with Vue.