First-class base path support!
Though the base path support was possible before, via a custom useLocation
hook, it wasn't fully SEO-friendly — for example, the link would still have a relative href attribute.
After a long discussion, it's been decided to enable the base path support on a top-level Router component 🎉 You can now just wrap your app with <Router base="/app">
and that's it! Learn more about this feature →
The added bundle cost is just 48 extra bytes.