Skip to content
Source
Sign inSign up
TanStack/router

`defaultPendingComponent` always rendered once on load #1899

Send to my agent
Closednklhtv(GitHub profile, opens in a new tab) opened this issue 2 comments

Describe the bug

defaultPendingComponent always rendered once on load, even if there are no loaders

Your Example Website or App

https://stackblitz.com/edit/tanstack-router-ho2fk8?file=src%2Fmain.tsx&preset=node

Steps to Reproduce the Bug or Issue

  1. Run the app
  2. Default pending component is rendered
  3. Home route is rendered

Expected behavior

  1. Run the app
  2. Home route is rendered

Screenshots or Videos

No response

Platform

  • OS: mac
  • Browser: Chrome
  • Version: any

Additional context

related to: https://github.com/TanStack/router/issues/1349 but this issue is for initial load only

No response

Sign in to join this conversation.