TanStackT
TanStack11mo ago
1 reply
sacred-rose

4 rerender with basic fetch

Hi all, I'm getting started with tanstack router, and I'm working on fetching some data. This isn't a huge deal, but I'm wondering why my component is fetching 4 different times when I navigate to the route.

When I navigate to the Posts route, I get that console.log for the posts print out 4 different times. I'm wondering why.
Was this page helpful?