Definition of React ApiContext context. Default value is invalid context with "NoProvider" status
React Component wrapping obtained children with ApiContext provider, so useApi and {@link useApiMaybe} can be called from any component in the children subtree. This is the only place where createApiContext is called. Internally it uses useDatabase and useNotify so it must be used under corresponding providers.
React Hook for obtaining ApiContext from any component under ApiProvider. If full ApiContext with status OK cannot be obtained, error is thrown instead.
React Hook for obtaining ApiContextBase from any component under ApiProvider. Be careful that if ApiContext isn't initialized correctly, it will still be returned, so check its status field.
Generated using TypeDoc
This file contains mix of React components and hooks useful for obtaining the ApiContext from any component in the project.