- Published on
- 2 min read
Open, navigate and close a modal without losing the keyboard user's place.
Open, navigate and close a modal without losing the keyboard user's place.
Choose between srcset, sizes and picture by asking whether pixels or composition must change.
Use a discriminated union to make loading, success and failure explicit and exhaustive.
Place each piece of state near the components that need to coordinate, and derive what you can.
Debug a missing CSS declaration by checking relevance, origin, layer and specificity in order.