You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a page that shows the list of posts with the filters that are taken from the search parameters. On every search parameters change the route should reload with a new (filtered) list of posts, but instead it reloads twice.
Which project does this relate to?
Router
Describe the bug
I'm writing a page that shows the list of posts with the filters that are taken from the search parameters. On every search parameters change the route should reload with a new (filtered) list of posts, but instead it reloads twice.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-pcurpwgc?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
Expected behavior
I expected component using useLoaderData to be rendered once, but instead it's rendered twice.
Screenshots or Videos
Screen.Recording.2025-04-25.at.19.46.43.mov
Platform
Additional context
If the loader is synchronous (without Promise, just immediate return), the Child component is rendered once as expected.