Should I use Tanstack router
I'm kinda new to all this, I'm at an early stage of building a website, I saw theo talking about tanstack router. While it's still in beta, I'm not sure if I should use it.
Also, I have no idea why the default routing is not good enough or how this lib improves over the others. Should I just use react router to navigate between pages?
3 Replies
Tanstack router is in heavy alpha
Is not worth to use it for a production app
For routing you can use react router dom
Router + more stuff
For only routing
GitHub
GitHub - molefrog/wouter: 🥢 A minimalist-friendly ~1.5KB routing fo...
🥢 A minimalist-friendly ~1.5KB routing for React and Preact. Nothing else but HOOKS. - GitHub - molefrog/wouter: 🥢 A minimalist-friendly ~1.5KB routing for React and Preact. Nothing else but HOOKS.
thanks for the info. But when I use Broswer router I get document undefined error. I get window undefined error as well, some say it's because document is undefined on server side. Where in t3 app can I put the router definition?