Skip to content

Customize listening port for ReactQueryDevtools #9932

@iloveitaly

Description

@iloveitaly

Describe the bug

If you have two sites you are working on in parallel, you cannot change the port that <ReactQueryDevtools /> is listening on. This makes it impossible to have two tanstack dev tools running at the same time.

Your minimal, reproducible example

https://github.com/iloveitaly/python-starter-template/blob/e534cf12b01553faee0afac7dbca7659f8c0d59b/web/app/configuration/tanstack-query.tsx#L16

Steps to reproduce

Run the above project in two separate directories: you'll get a port in use behavior.

Expected behavior

Ability to customize the listening & server port when using ReactQueryDevtools (SPA mode for me).

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

macOS

Tanstack Query adapter

None

TanStack Query version

5.90.11

TypeScript version

No response

Additional context

No response

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