Skip to content

streaming doesn't work #6715

Closed
Closed

Description

@huseeiin

Which project does this relate to?

Start
i followed https://tanstack.com/router/latest/docs/guide/deferred-data-loading

Describe the bug

on client it shows blank page until everything loads
on server it blocks until everything loads

Your Example Website or App

run code below

Steps to Reproduce the Bug or Issue

import { Await, createFileRoute } from "@tanstack/solid-router";
import { createServerFn } from "@tanstack/solid-start";

const promise = createServerFn().handler(async () => {
  await new Promise((r) => setTimeout(r, 3000));
  return crypto.randomUUID();
});

export const Route = createFileRoute("/")({
  component: RouteComponent,
  loader() {
    return { promise: promise() };
  },
});

function RouteComponent() {
  const data = Route.useLoaderData();
  return (
    <>
      data{" "}
      <Await fallback={<p>Loading...</p>} promise={data().promise}>
        {(data) => data}
      </Await>
    </>
  );
}

Expected behavior

fallback to show

Screenshots or Videos

No response

Platform

  • Router / Start Version: "@tanstack/solid-router": "^1.159.2",
    "@tanstack/solid-start": "^1.159.2",
  • OS: linux
  • Browser: Firefox
  • Browser Version: 147.0.3
  • Bundler: vite
  • Bundler Version: 8.0.0-beta.14

Additional context

No response

Activity

  1. schiller-manuel commented on Feb 21, 2026

    @schiller-manuel
    Collaborator

    please provide a complete reproducer project

  2. huseeiin commented on Feb 21, 2026

    @huseeiin
    ContributorAuthor
  3. huseeiin commented on Feb 28, 2026

    @huseeiin
    ContributorAuthor
  4. medicovisual commented on Mar 23, 2026

    @medicovisual

    Facing the same issue.

  5. birkskyum commented on Apr 25, 2026

    @birkskyum
    Member
    Untitled.mov
  6. huseeiin commented on May 7, 2026

    @huseeiin
    ContributorAuthor

    Untitled.mov

    since tanstack start already has a isbot() check to stop streaming, would be cool to show an example on how to have meta tags with streaming enabled only for real users

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

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