A modal is a focus journey
Open, navigate and close a modal without losing the keyboard user's place.
2 min readOpen, navigate and close a modal without losing the keyboard user's place.
2 min readUse a discriminated union to make loading, success and failure explicit and exhaustive.
2 min readPlace each piece of state near the components that need to coordinate, and derive what you can.
2 min read