PowerSync @powersync.com · Dec 1

2) Subscribe to the Sync Streams from the client app 3) Use waitForFirstSync() to ensure data is locally available React useQuery example follows below...

0 likes 1 replies

?

Replies

PowerSync · Dec 1

The useQuery hook for React can wait for stream subscriptions to have synced before running queries: