Triggers R3F error on soft navigation
Open
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
- Click "/duck" link
- Click "/index" link
- Click "/duck" link
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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