Vue
Reactivity, the composition API, components and Vue's rendering.
11 lessons 41 practice questions about 1 hours of reading
Chapter 1, beginner
Foundations
What it is and how it works, the questions every round starts with.
- 01ref vs reactive in Vue 3: what is the difference?
Lesson, 5 min read, then 5 questions to practise
- Implement a reactive dependency system with automatic dependency tracking
- Use Proxy and Reflect for validation, negative indexes, change tracking and read-only views
- Build a counter with step size, min/max bounds, reset and undo/redo
- Build linked inputs without effect loops: a Celsius/Fahrenheit converter and a recipe scaler
- Build a tags input that turns text into removable chips
- 02v-if vs v-show in Vue: what is the difference?
Lesson, 5 min read, then 5 questions to practise
- Build an accessible accordion with keyboard navigation
- Build a multi-select dropdown with search and tags
- Build a nested comments component with threaded replies
- Build a notification bell with an unread badge, grouped panel and live announcements
- Build a sliding 15-puzzle that only deals solvable boards
- 03What are slots in Vue?
Lesson, 5 min read, then 4 questions to practise
- 04What are Vue lifecycle hooks?
Lesson, 5 min read, then 5 questions to practise
- Build breadcrumbs that collapse overflowing middle items into a menu
- Build Wordle with correct scoring for repeated letters
- Build Whack-A-Mole with a timed game loop
- Build a Pomodoro timer with work and break cycles and drift-free time
- Build an accessible carousel with autoplay that pauses on hover and focus, swipe and reduced motion
Chapter 2, intermediate
In depth
How it behaves under the hood, and the follow-ups that come next.
- 05Composition API vs Options API in Vue: which should you use?
Lesson, 5 min read, then 1 question to practise
- 06computed vs watch vs watchEffect in Vue: when to use which?
Lesson, 5 min read, then 2 questions to practise
- 07How do props, emits and v-model work in Vue components?
Lesson, 5 min read, then 4 questions to practise
- 08How do provide and inject work in Vue?
Lesson, 6 min read, then 4 questions to practise
- Implement Vue's provide and inject: app-level providers, nearest-ancestor lookup and factory defaults
- Build a Pinia-style defineStore: getters, actions, $patch, $reset, $subscribe and $onAction
- Build theme and settings providers: helpful hook errors, scoped overrides, composeProviders and stable values
- Build a dependency injection container: singleton, scoped and transient lifetimes, cycle paths and async disposal
- 09How does reactivity work in Vue 3?
Lesson, 6 min read, then 2 questions to practise
- 10What are composables in Vue?
Lesson, 6 min read, then 4 questions to practise
- Implement Vue's computed() and watch(): lazy cached getters, deep and immediate watchers, and onCleanup
- Build Vue 3's reactive(), ref() and effect() with Proxy: per-key tracking, lazy deep proxies and arrays
- Implement useFetch() with loading, error, and cancellation
- Build everyday custom hooks: useToggle, useWindowSize, useOnlineStatus and useCopyToClipboard
- 11What is Pinia and how is it different from Vuex?
Lesson, 5 min read, then 5 questions to practise
- Implement a small Redux-style store using subscriptions and reducers
- Implement a fine-grained external state store using useSyncExternalStore without tearing
- Build createSlice() and createAsyncThunk() from scratch, wired to a store and React
- Implement Redux createStore() with enhancers and applyMiddleware(): middleware order, thunk and logger
- Normalize nested API data into entities with memoized selectors