Skip to content

Initial load delay with ssr: false #5122

Closed as not planned
Closed as not planned

Description

@Dubzer

Which project does this relate to?

Start

Describe the bug

hii
i see a delay on the initial load when disabling SSR for a single route on Tanstack Start. setting defaultPendingMinMs to 0 works as a workaround.

related (?) #1929

Your Example Website or App

Steps to Reproduce the Bug or Issue

  1. npx create-start-app@latest to create a project
  2. navigate to index.tsx, and set ssr: false in the route configuration
  3. pnpm run build && node .output/server/index.mjs
  4. observe how the contents of the index page render with a delay

sorry that i can't provide an example. for some reason, tanstack start template on codesandbox doesn't seem to work

Expected behavior

no delay

Screenshots or Videos

CleanShot.2025-09-11.at.10.22.01.mp4

Platform

  • Router / Start Version: ^1.131.7
  • OS: macOS
  • Browser: any
  • Bundler: vite
  • Bundler Version: ^6.3.5

Additional context

No response

Activity

  1. schiller-manuel commented on Sep 11, 2025

    @schiller-manuel
    Collaborator
  2. Dubzer commented on Sep 11, 2025

    @Dubzer
    ContributorAuthor

    oh, i see. thanks!
    but is there really a point in displaying a pending component even when the loader is not configured?

  3. schiller-manuel commented on Sep 11, 2025

    @schiller-manuel
    Collaborator

    you could still want a server fallback to prevent layout shift

  4. teidesu commented on Nov 3, 2025

    @teidesu

    encountered this quirk too, very counter-intuitive default 😭

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