LARGE-SCALE INPUT
Large dynamic forms
Keeping large forms responsive.
My roleInput architecture · State boundaries · Rendering performance
Clinical data entry brings hundreds of dynamic fields and repeating rows into one screen. User edits, server calculations, and recovered values all reach the same fields. I needed clear ownership of state as well as control over rendering.
I used virtualization with measured row heights and field-level subscriptions to contain updates. React Hook Form owns input values, React Query owns server data, and Jotai owns shared editing state. Each change has an explicit boundary.
Engineering detail and contribution
- Engineering detail
- Save payloads contain changed fields. Repeating questions are an explicit exception: the whole question is sent because saving rebuilds row order. I removed derived fields from the initial payload after checking actual requests and confirming the duplication.
- Ownership and collaboration
- I designed and implemented the input architecture, state boundaries, and save/recovery flow. The team extended keyboard navigation and table paste support.