JavaScript
Data and State
A UI is built from data, so here you learn to filter, sort and group that data without touching the DOM directly.
Start the trackFree, no sign-up needed
What you'll learn
- State in one placeChange the state and the UI follows
- Filtering as you typeSearch without reloading
- Sorting without breaking the originalCareful: sort changes the original
- Grouping with reduceFrom one list to groups
- Don't mutate, make a copyWhy we freeze data
- Derived stateCompute it, don't store it
- Undo, step by stepA history of snapshots that never change
- PaginationPage number in state, slicing at render time
Track contents
8 lessons, 2 hours in total- 1State in one placeJavaScriptChange the state and the UI follows14 min
- 2Filtering as you typeJavaScriptSearch without reloading13 min
- 3Sorting without breaking the originalJavaScriptCareful: sort changes the original14 min
- 4Grouping with reduceJavaScriptFrom one list to groups15 min
- 5Don't mutate, make a copyJavaScriptWhy we freeze data14 min
- 6Derived stateJavaScriptCompute it, don't store it13 min
- 7Undo, step by stepJavaScriptA history of snapshots that never change15 min
- 8PaginationJavaScriptPage number in state, slicing at render time14 min
More Web tracks
All tracks- </>Beginner
Web Basics
Start with your very first HTML tag and finish with a complete interactive app.
8 lessons1.5 hours - { }Intermediate
CSS in Depth
Go deeper into the box model, custom properties, positioning, container queries and more, so you understand what's really going on behind the styles you see.
8 lessons1.5 hours - { }Beginner
Text and Typography
Learn to scale headings, choose the right units, and set line length and text direction, because text is what people read most in any interface.
8 lessons1.5 hours