How I Recreated TanStack Router From Scratch @WebDevSimplified
How I Recreated TanStack Router From Scratch  @WebDevSimplified
Uploaded April 2025 | Updated September 2026, 1 week ago
One thing every React application needs is routing, which is why libraries like React Router and TanStack Router are so popular. It may seem intimidating trying to understand how these libraries work (especially when it comes to type safety) which is why in this video I will show you how I built my own fully type safe router from scratch.


πŸ“š Materials/References:

GitHub Code: github.com/WebDevSimplified/my-own-react-router
Will AI Replace You Video: youtu.be/oObg8rRXZVM


🌎 Find Me Here:

My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: patreon.com/WebDevSimplified
Twitter: twitter.com/DevSimplified
Discord: discord.gg/7StTjnR
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified


⏱️ Timestamps:

00:00 - Introduction
01:47 - How to use the router
06:20 - Route matching
12:45 - Router context
15:40 - Type safety explained
20:55 - Route definition
25:28 - Outlet and layout components
30:39 - Link component
32:30 - Creating a new route example
34:38 - Can AI write this code?


#ReactJS #WDS #ReactRouter
How I Recreated TanStack Router From ScratchThis New React Feature Will Make Your App 20% FasterI Love the NEW CSS FunctionsCan a Web Developer Solve LeetCode?Learn Advanced TypeScript In 25 Minutes (infer, extends, ternaries)I Love This New CSS text-wrap FeatureLearn Event Delegation In 10 MinutesIs Drizzle Really Better Than Prisma?Discord Made The Coolest CSS Only Input AnimationHow To Use AI Skills Like A Senior DeveloperIf You Feel Burnt Out Do ThisI Love This CSS Focus Hack
Web Dev Simplified |

How I Recreated TanStack Router From Scratch

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER