vincjo / datatables

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

Are you sure you need a cryptographically secure id for sort and filter operations? #146

Closed bn-l closed 4 days ago

bn-l commented 5 days ago

Sadly this breaks the component for me when I am connecting to my dev server from another computer on my network (the --host option for vite). The browser won't let you call the method unless you're on local host or https.

Why wouldn't math.random suffice here?

vincjo commented 4 days ago

Indeed math.random is sufficient to generate identifiers for the filters

vincjo commented 4 days ago

I saw you forked the repo. You can tell me if you're working on it, otherwise I can fix it today

vincjo commented 4 days ago

Thx for your contribution. Published on npm: 2.1.0