Hash based routing with react-navi

Navi is an simple and easy-to-use routing solution for React with good support for React Suspense and asynchronous data-fetching.

I generally prefer hash-based routing over push state based routing because it doesn’t require any special handling on the server side and works well even with file urls & electron apps. Also, working mostly with intranet applications, SEO is generally not a concern for me.

This post outlines the (minimal) steps needed to use Navi with hash routing

Continue Reading →