Function useAppContext

  • Read the app context.

    Returns AppContextValue

    The loaded spec state: config, resources, profileOperations, profileComponents, authConfig, schemas, loading, errors and warnings.

    If called outside of an AppProvider.

    const { resources, loading, errors } = useAppContext();