DEV Community

Discussion on: Building a Single Page App without frameworks 🔥

Collapse
 
frarus profile image
fra-rus

Dear author, why you didn't use the hash part of the URL with the hashchange event to navigate around the app?
I've checked around 5 similar articles and all of them are recommending to use hash. It's much simpler and convenient.

Collapse
 
metalmikester profile image
Michel Renaud

I'm interested in this. Do you have some links you can share?

Collapse
 
aderchox profile image
aderchox

It might be simpler, but it's a different thing. It depends on your preference based on your use case.