Skip to content

@vue/apollo-composable / useGlobalMutationLoading

Function: useGlobalMutationLoading() ​

useGlobalMutationLoading(): ComputedRef<boolean>

Returns a computed ref indicating if any mutation in the entire app is loading.

Can be called anywhere, including outside of setup functions.

Returns ​

ComputedRef<boolean>

Computed ref that is true when any mutation in the app is loading.

Released under the MIT License.