Which project does this relate to?
Router
Describe the bug
As the title said,
when setting the prop preloadIntentProximity on the <Link /> component, it is set on the dom,
which results in a console error:
React does not recognize the preloadIntentProximity prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase preloadintentproximity instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Your Example Website or App
https://tanstack.com/router/latest/docs/framework/react/examples/kitchen-sink-file-based
Steps to Reproduce the Bug or Issue
- Go to the example attached in the issue,
- Find the
dashboard.invoices.route.tsx file.
- Add
preloadIntentProximity to the Link component.
- Open the console and inspect.
Expected behavior
As a user I expected no react DOM error, and the internal prop to not be set on the DOM.
Screenshots or Videos
No response
Platform
- Router Version: 1.168.10
- OS: Windows
- Browser: Chrome
- Browser Version: 146
- Bundler: vite
- Bundler Version: 8.0.7
Additional context
No response
Which project does this relate to?
Router
Describe the bug
As the title said,
when setting the prop
preloadIntentProximityon the<Link />component, it is set on the dom,which results in a console error:
Your Example Website or App
https://tanstack.com/router/latest/docs/framework/react/examples/kitchen-sink-file-based
Steps to Reproduce the Bug or Issue
dashboard.invoices.route.tsxfile.preloadIntentProximityto theLinkcomponent.Expected behavior
As a user I expected no react DOM error, and the internal prop to not be set on the DOM.
Screenshots or Videos
No response
Platform
Additional context
No response