Skip to content

defaultPendingComponent always rendered once on load #1899

Closed

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

Activity

  1. ericchernuka commented on Jul 6, 2024

    @ericchernuka

    I wonder if this is related to this bug, #1646

  2. schiller-manuel commented on Jul 16, 2024

    @schiller-manuel
    Collaborator

    this will be fixed by #1907

    reproducer with pre-release package: https://stackblitz.com/edit/tanstack-router-mbxik2?file=src%2Fmain.tsx&preset=node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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