T
TanStack2y ago
foreign-sapphire

createRoute and createLazyRoute example + docs

The docs for createRoute gives typescript errors when I try use the example from the doc. Is there an example of this working somewhere?
3 Replies
rare-sapphire
rare-sapphire2y ago
StackBlitz
Router Quickstart File Based Example - StackBlitz
Run official live example code for Router Quickstart File Based, created by Tanstack on StackBlitz
GitHub
router/examples/react/quickstart-file-based at main · TanStack/router
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
foreign-sapphire
foreign-sapphireOP2y ago
the quick start is file based router, I am not able to get the non file based routing to work
rare-sapphire
rare-sapphire2y ago
React Router Quickstart Example | TanStack Router Docs
An example showing how to implement Quickstart in React Router

Did you find this page helpful?