ziw
ziw
I've seen many similar issues/discussions and stackoverflow posts. At this point, we could really use some official document / examples on how to wrap components in a type safe way....
> I had the same issue and after a bit of playing around I found this works: > > ```ts > import { RouterProvider, createRouter, Link, ToOptions } from '@tanstack/react-router';...
The snippet is copied from the official doc. But I'm actually using ``. Updated the issue.
@adaex will give it a try but may not have enough context. If anyone else wants to help, it's very appreciated.
@sxzz Thanks. Good to know.. will follow the RFC.