useSuspenseQuries to load two endpoints which are required to get the supply recommendations and also restore existing selection. Once the component mounts, we use react-hook-form to transform the data into a form state using it's defaultValues prop.isFetching or resetQuery (however the latter isn't practical because there are multiple places in the app that can cause changes that affect supply page).useSuspenseQuery or useSuspenseQueries to fallback regardless of data in the cache. Something like { "suspendOnFetch": "always" } as an option.https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 1h ago
https://x.com/powersync_/status/2010721010006552775?s=20
dry-scarlet · 2mo ago
You can now submit your website/app/project to http://TanStack.com 's new showcase and have it seen by the TanStack community! - Global showcase browser - Per-library filters - Category filters Submit here: https://tanstack.com/showcase/submit View all here: https://tanstack.com/showcase
dry-scarlet · 3mo ago