Comment

Comment by wavefunction

That's usually just a lack of basic engineering practices common to well-implemented SPAs.

All requests below the SPA's root should be forwarded to the SPA root, which appropriately then routes the request to the proper views and controllers.

Proper usage of resource IDs in these URLs allows a newly initialized application model to populate and serve the appropriate content for the appropriate views.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton