router
router copied to clipboard
<Scripts /> throws warning of props object containing a "key" prop being spread into JSX.
Describe the bug
I upgraded to v1.15.12 using Vinxi w/ React SSR streaming and got errors about improperly spread props in <Scripts/>. The errors started to appear since this commit: https://github.com/TanStack/router/commit/3aac5c6971f5fb775fd6b57b49ff7dac21766e81
Important to note though that I understand these changes are experimental, and I assume that how a Vinxi + Tanstack Router setup should be done is being simplified/refactored for Tanstack Start at the moment.
I made my best guess in figuring out how to plug in the new utility functions in the commit above and pasted a screenshot of my setup below.
Your Example Website or App
See screenshots below.
Steps to Reproduce the Bug or Issue
Expected behavior
For the warnings to not appear.
Screenshots or Videos
No response
Platform
- OS: macOS
- Browser: Chrome
- Version: v1.15.12
Additional context
No response