Prompt Refactor

Extract a Vue Composable

Extract reusable logic into a Vue composable function.

vue
Insert label Composable
Prompt

Extract the stateful logic from this component into a composable. Move reactive state, watchers, and computed properties into a use* function in composables/. Return only what the component needs and keep the composable testable in isolation.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl