useRouteContext hook coupled with validateSearch in a nested route that throw an error in a specific situation._auth route that ensure, in the beforeLoad method, that the user is logged in, returns his account's information if he is or redirects him to the login page if he's not./_auth/events that can have three optional search params (page, type & criticality, by default, 1, "all", "all"). When I navigate to /events from within the application, everything works as expected, the url change to /events?page=1&type=all&criticality=all as expected, but if I directly type /events in my browser, the url is also correctly updated, but I get the error below (context is undefined in the AuthLayout while being correctly logged in the beforeLoad method).


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