Conversation
… rendering issues by date. Improved user feedback for date selection and syncing status.
|
|
Just a hygiene thing, we should also add a reference to this demo in the root README https://github.com/powersync-ja/powersync-js |
Chriztiaan
left a comment
There was a problem hiding this comment.
Looks good from my perspective. We cleared up the flicker issues we caught with stream changing and fixed them in the @powersync/react package.
A React demo that shows how to use PowerSync sync streams to dynamically control which data is synced to the client based on a date field. Issues are grouped by
updated_atdate, and each date is a separate stream subscription that the user can toggle on or off. Runs entirely locally with self-hosted PowerSync and Supabase.useQuerythat both subscribes to the sync stream and renders matching issues (TTL 0)TODO: Add demo link to this guide.