DEV Community

Discussion on: Need help finding a very basic vanilla Javascript SPA router tutorial or source code

Collapse
 
mazentouati profile image
Mazen Touati • Edited

I think History API is what you are looking for, good luck.

Collapse
 
julesmanson profile image
jules manson

Yeah but that is not a router. A router makes use of history in the BOM but the BOM isn't a controller which is what a router essentially needs to be. Thanks anyway.