uninitialized & initializedbeforeLoad of the __root.tsx I use TSQuery to get the serverState and inject it into the router context along with the QueryClient. uninitialized, all paths would reroute to /initialization (a single page without sub routes). Same for restarting and disconnected. initialized, routing would happen normally with a default redirect to /home from the index.__root.tsx but I can't both update the context via a return AND throw redirects obviously. context.serverState = serverState) but this doesn't work, I get undefined in the beforeLoads of subsequent routes when using serverState._redirect pathless route which would do the redirects. This works somewhat, but only on legitimate subroutes (so for instance /fubar would not redirect, it would just show a 404). Also, no redirects on the index route which is a problem.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
TanStack AI Alpha 2 is here! 🖼️ Image, video, audio, speech, transcription, structured output 📦 Split adapters = smaller bundles, faster dev/contributions, easier 🎄 Fully tree shakable adapters ✨ Cleaner, flattened, fully type-safe APIs https://tanstack.com/blog/tanstack-ai-alpha-2
dry-scarlet · 3mo ago