This is client side code. I see there are examples for React, but I am not using React. I am using preact + @preact/signals for client side state.
What is an API for subscriptions to a query in vanilla JS?
This is client side code. I see there are examples for React, but I am not using React. I am using preact + @preact/signals for client side state.
What is an API for subscriptions to a query in vanilla JS?
In https://dexie.org/docs/liveQuery()#vanilla-js it's examplified with vanilla JS (module style). If you're after a script-style, it would be: