The problem with single-page apps
Single-page apps (or SPAs as they're sometimes called) serve all of the code for an entire multi-UI app from a single
- Configure the server to point all paths on a domain back to the root
index.htmlfile. For example,
todolist.com/listsshould both point to the same file.
- Suppress the default behavior when someone clicks a link that points to another page in the app.