Software Development
Sanity Form Component Suspense
Fix a Sanity Studio custom form component (components.input, components.field, components.item, or a plugin's form.components) that suspends without its own Suspense boundary, so it loads without layout shift and never blocks new documents. Use when the console warns "The custom input/field/item component ... suspended without a <Suspense> boundary of its own" or "A form component ... suspended without a <Suspense> boundary of its own", when a custom form component uses React.lazy, use(), App SDK hooks (useDocumentProjection, useQuery, useDocument) or another suspending data library, or when a field or array item shows a skeleton that never goes away on new documents.
- Publisher / source
- Sanity Agent Skills
- Upstream record
- sanity-io/agent-toolkit
- Version
- Version 1
- Published
- Publication review
- Approved for publication · recorded passed scan 2026-10-22
- Content fingerprint
7e7e3c3b406f641ecc8c51c32e17b7762e4d9f5648eb5e9e110bbeb970a93ac4