composables

Installation
SKILL.md

Composables

Table of Contents

Composables are functions that encapsulate and reuse stateful logic using Vue's Composition API. They replace the Options API's fragmented code organization with clean, composable functions that can be shared across components.

When to Use

  • Use this when you need to share stateful logic across multiple components without duplication
  • This is helpful for extracting concerns like data fetching, event listeners, or timers into reusable functions

Instructions

Installs
127
GitHub Stars
228
First Seen
Mar 30, 2026
composables — patternsdev/skills