3 ms·
I see what you did there xD Essentially, instead of hijacking the Browser's history with some Javascript router api, you simple use the inbuilt url fragment to
by OzzyB 6y ago
I see what you did there xD
Essentially, instead of hijacking the Browser's history with some Javascript router api, you simple use the inbuilt url fragment to "load" a new page by using CSS to hide/show content based on that #fragment.
What I like about it is that the urls are "honest" -- you're not navigating to a new page (there isn't one, just like there isn't one when you do the same w/ a Jamstack App) -- and the urls show this.