Skip to content

defaultPendingComponent always rendered once on load #1899

@nklhtv

Description

@nklhtv

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: #1349 but this issue is for initial load only

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions