Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because being an SPA adds tons of potential for bugs that normal sites don't have. Case in point, your demo:

- required changing my adblocker settings to work

- Breaks the back button on the first page by adding instead of replacing the start page on the history stack

- changing pages doesn't reset the scroll position - you jump to somewhere in the middle of the new page if you switch pages while scrolled down

All of these can be fixed, but a non-SPA wouldn't have any of them in the first place. More work for what benefit exactly?

(While I'm listing bugs, the top of the content scrollbar is cut off/hidden behind the top bar, but that's not SPA specific)



Plus it's (more) complicated to wget mirror it to reference while offline. Being in a public github repo makes it easy but I've run into issues trying to take older frames-based "SPA" documentation sites offline that aren't explicitly downloadable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: