TanStack / TanStack/devtools

Triggers R3F error on soft navigation

Open
#276 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
499
Forks
100
Avg merge
1d 17h
Merged PRs (30d)
4

Description

TanStack Devtools version

v5.91.1

Framework/Library version

19.2.0

Describe the bug and the steps to reproduce it
  1. Click "/duck" link
  2. Click "/index" link
  3. Click "/duck" link
  4. Get error: R3F: Cannot set "data-tsd-source". Ensure it is an object before setting "tsd-source".
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://github.com/akhmadshin/tanstack-router-r3f

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked minimal reproducible example at https://github.com/akhmadshin/tanstack-router-r3f and reproduce the /duck → /index → /duck soft-navigation sequence. Trace the R3F "data-tsd-source" error during the final navigation; done means that sequence completes without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.