Skip to content

Client-only API called on the server side. Run client-only code in onMount, or conditionally run client-only component with <Show>. #8799

@huseeiin

Description

@huseeiin

Describe the bug

error in Solid Example: Solid Start Streaming stackblitz example

Your minimal, reproducible example

https://stackblitz.com/github/tanstack/query/tree/main/examples/solid/solid-start-streaming?embed=1&theme=light&preset=node&file=src/index.tsx

Steps to reproduce

https://stackblitz.com/github/tanstack/query/tree/main/examples/solid/solid-start-streaming?embed=1&theme=light&preset=node&file=src/index.tsx

Expected behavior

it runs

How often does this bug happen?

Every time

Screenshots or Videos

Image

Platform

linux, chrome
^5.67.3

Tanstack Query adapter

solid-query

TanStack Query version

^5.67.3

TypeScript version

No response

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