T
TanStack3y ago
national-gold

Mismatch between version beta.53 and the docs?

Getting "no exported member" errors for RootRoute and others.
10 Replies
blank-aquamarine
blank-aquamarine3y ago
Ypu need to update to latest beta version, still docs are little mis matched as there some changes planned that are coming soon
national-gold
national-goldOP3y ago
Is there a way to do that through NPM? I show 53 as the latest version
blank-aquamarine
blank-aquamarine3y ago
change it in package.json
national-gold
national-goldOP3y ago
Cool. Thanks for that. So, the way to tell what the latest version of the beta currently is you look at the package.json in the example projects from the docs? I did that to update to beta.83.
blank-aquamarine
blank-aquamarine3y ago
check releases in github for version details
national-gold
national-goldOP3y ago
Thanks again. It looks like the docs are ahead of the current version on github so I'm stuck until Tanstack releases the new version publicly. RouterProvider "no exported member".
ratty-blush
ratty-blush3y ago
Docs make you install @tanstack/router while you should actually install @tanstack/react-router The first one does not contain React adapters, which include the RouterProvider component
national-gold
national-goldOP3y ago
Oh wow. Thank you very much for this. Trying it out now. Edit: This absolutely resolved the issue.
harsh-harlequin
harsh-harlequin3y ago
The react-router one also does not seem to match the docs? Seems like some API are missing ex. loader for Route?
adverse-sapphire
adverse-sapphire3y ago
Use the docs on release tag. Latest beta release uses onLoad while beta branche uses loader.

Did you find this page helpful?