You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jsonforms-renderers: reduce per-keystroke AJV cost in useIsRequired for conditional schemas #116
When the root schema uses conditional constructs (allOf / if / then, etc.), every visible control that is not statically required still deep-clones form data and runs a full AJV validation inside useIsRequired on each keystroke. On large forms, especially when file or spreadsheet payloads live in data, that can get expensive.
The root-only fast path in #112 helps schemas without conditionals, but not the forms that need the AJV-backed asterisk.
Proposed work
Profile a representative form that uses root-level conditionals and stores moderately large values in data.
If the cost shows up, consider sharing one "required set" computation per data snapshot across controls (or another cache keyed by data + schema) instead of N clone+validate calls.
Context
Follow-up from review on #112. Non-blocking until measured.
Activity