Recall & Review
beginner
What is a Single Page Application (SPA)?
An SPA is a web app that loads a single HTML page and dynamically updates content without reloading the whole page.
Click to reveal answer
beginner
Why do SPAs need routing?
Routing lets SPAs change views or content based on the URL without reloading the page, making navigation smooth and fast.
Click to reveal answer
intermediate
How does routing improve user experience in SPAs?
Routing allows users to bookmark and share URLs for specific views, and use browser back/forward buttons naturally.
Click to reveal answer
intermediate
What happens if an SPA does not use routing?
Without routing, the app can't change views based on URL, so users can't bookmark or navigate easily, and the app feels less like a website.
Click to reveal answer
beginner
What Vue tool is commonly used for routing in SPAs?
Vue Router is the official routing library for Vue.js that manages navigation and URL changes in SPAs.
Click to reveal answer
What does routing in an SPA mainly control?
✗ Incorrect
Routing controls which content or view is displayed based on the URL without reloading the whole page.
Why is routing important for bookmarking in SPAs?
✗ Incorrect
Routing lets users bookmark URLs that correspond to specific views or states in the SPA.
Which Vue library is used for routing in SPAs?
✗ Incorrect
Vue Router is the official routing library for Vue.js to handle navigation in SPAs.
What user action benefits from routing in SPAs?
✗ Incorrect
Routing allows the browser back and forward buttons to work naturally by changing views without full reloads.
What is a downside of not having routing in an SPA?
✗ Incorrect
Without routing, users cannot bookmark or share URLs for specific views, reducing usability.
Explain why routing is essential for navigation in Single Page Applications.
Think about how users move around and save pages in a normal website.
You got /4 concepts.
Describe how Vue Router helps SPAs manage routing.
Consider how Vue Router connects URLs to what the user sees.
You got /4 concepts.