Mismatch between version beta.53 and the docs?
Getting "no exported member" errors for RootRoute and others.
10 Replies
blank-aquamarine•3y 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-goldOP•3y ago
Is there a way to do that through NPM? I show 53 as the latest version
blank-aquamarine•3y ago
change it in package.json
national-goldOP•3y 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•3y ago
check releases in github for version details
national-goldOP•3y 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•3y 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 componentnational-goldOP•3y ago
Oh wow. Thank you very much for this. Trying it out now.
Edit: This absolutely resolved the issue.
harsh-harlequin•3y 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•3y ago
Use the docs on release tag. Latest beta release uses
onLoad while beta branche uses loader.