vincjo / datatables

A toolkit for creating datatable components with Svelte
https://vincjo.fr/datatables
MIT License
412 stars 16 forks source link

[Runes] ownership_invalid_mutation #128

Open icheered opened 6 days ago

icheered commented 6 days ago

In the "Hello World" example using ThSort or ThFilter triggers the warning

[svelte] ownership_invalid_mutationnode_modules/@vincjo/datatables/dist/src/shared/ThSort.svelte mutated a value owned by src/lib/components/table.svelte. This is strongly discouraged. Consider passing values to child components with `bind:`, or use a callback instead

This only triggers in dev mode, in production mode this does not trigger a warning.

vincjo commented 6 days ago

I guess i should create a new project with a npm i @vincjo/datatables and test it properly.

Thanks for the warning, will fix it for sure