T
TanStack•13mo ago
ratty-blush

Search params disappearing after first render

Can't seem to figure out how to use URL params if they come from like the initial page load. In my example I want to have an OAuth callback route but the code param only seems to exist on the first render and then it disappears. help!
5 Replies
ratty-blush
ratty-blushOP•13mo ago
No description
ratty-blush
ratty-blushOP•13mo ago
ratty-blush
ratty-blushOP•13mo ago
you can see it flash for one render and then hide package.json
"@tanstack/react-router": "^1.56.5",
"@tanstack/router-zod-adapter": "^1.56.5",
"@tanstack/start": "^1.56.5",
"@tanstack/react-router": "^1.56.5",
"@tanstack/router-zod-adapter": "^1.56.5",
"@tanstack/start": "^1.56.5",
harsh-harlequin
harsh-harlequin•13mo ago
can you please provide a complete minimal example by forking one of the existing examples on Stackblitz?
ratty-blush
ratty-blushOP•13mo ago
@Manuel Schiller did that, and realised the issue was because I was still using a vinxi setup from a while ago. Migrated to vite and everything seemed to be ok 😄 so I guess you did solve my issue haha, thank you. 💙

Did you find this page helpful?