Software Development

Create Adaptable Composable

Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.

Publisher / source
vuejs-ai/skills (found on GitHub top repositories)
Upstream record
vuejs-ai/skills
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
9d6c8822577020dd62594e7fca4c11feb2be1af36f62d3f190984fe5aae1f6d1