schema-components - v3.7.0
    Preparing search index...
    • Catch rendering errors from <SchemaComponent>, theme adapters, and any descendant. Wraps Solid's built-in <ErrorBoundary> so the API shape matches react/SchemaErrorBoundary.tsx.

      Solid's ErrorBoundary accepts unknown errors. The wrapper coerces non-Error throws into a generic Error with the original value's stringified form so consumers always receive an Error instance.

      Parameters

      Returns Element

      <SchemaErrorBoundary fallback={(error) => <p>{error.message}</p>}>
      <SchemaComponent schema={userSchema} value={user} onChange={setUser} />
      </SchemaErrorBoundary>