Skip to content

[Start, SOLID] wrapInSuspense does nothing? #5855

@elite174

Description

@elite174

Which project does this relate to?

Start

Describe the bug

I'm trying to show a loader until all the routes for current match are ready (nested routes). I understand that they are loaded in parallel, so in the root node I want to use Suspense component and show a fallback, but it disappears almost immediately even I set wrapInSuspense false everywhere. I also don't have pending component.
I tried pending component for root node, but it disappears quickly and for some time I just see the blank screen.
How to do this?

Your Example Website or App

Steps to Reproduce the Bug or Issue

Expected behavior

Root suspense should handle all the nested routes until they resolved

Screenshots or Videos

No response

Platform

  • Router, start: 1.135.2
  • Vite 7.2.2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions