Real-world mini-appsPath 25/30
FormsState & eventsConditional renderingComposition
Your workspace must pass its server-side browser checks to complete this challenge.
Day 5 — Build a validated deployment workflow
Implement a small workflow, not a collection of disconnected input validators. A request must be valid before review, the review must be accurate, and production submission needs an explicit confirmation.
Requirements
- Validate service and ticket before moving to review and show field errors.
- Use the
CHG- plus four-or-more digits ticket format.
- Preserve values when moving back from review to edit.
- Production requires acknowledgement at final submission; staging does not.
- Show a clear confirmation after successful submission and allow another request without a page refresh.
Interview review
- Why can validation differ between a review transition and final submit?
- What belongs in client validation versus server validation?
- How would you preserve a partially completed request across a reload without silently submitting it?