With the emergence in Single page applications, devs have moved away from server side routing in favour of client side routing. It is quite easy to implement in popular frameworks like Angular and UI libraries like React, thanks to well established modules like ui-router, React-router etc.
In this article we are going to explore what is client side routing and how can we incorporate it in a vanilla JS web app by building our own routing module.
Disclaimer: Don’t use it in prod. …
Software Engineer at Microsoft Teams