OptionalfallbackA React node to render when an error is caught.
Use this for simple static fallback UIs.
When both fallback and onError are provided, onError takes precedence.
OptionalloadingThe fallback rendered by the inner <Suspense> while queries are loading.
Defaults to null (no visible loading state) when omitted.
OptionalonCalled when the boundary catches an error.
Return a React node to render in place of the failed subtree,
or undefined / null to fall back to the default error UI.
Props for QueryBoundary.