query icon indicating copy to clipboard operation
query copied to clipboard

Customize listening port for ReactQueryDevtools

Open iloveitaly opened this issue 2 months ago • 0 comments

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

iloveitaly avatar Nov 29 '25 13:11 iloveitaly