Skip to content

Version 2.0.41 — useGoogleSdk composable & TypeScript improvements

Choose a tag to compare

@devbaji devbaji released this 26 Apr 21:34
· 47 commits to master since this release

What's new

useGoogleSdk composable

A new composable that exposes reactive Google SDK state — useful for disabling custom buttons until the GSI SDK is fully loaded.

<script setup>
const { isLoaded } = useGoogleSdk()
</script>

<template>
  <button :disabled="!isLoaded" @click="login">
    Sign in with Google
  </button>
</template>