# Composables
# Rules
- Composables can't work without the access to the component context therefore you can run them only inside the
setup()
method of Vue.js component.asyncData
,data
, andmethods
will also work but there are some known issues. - You always have to provide a unique identifier for each composable (except
useUser
,useWishlist
anduseCart
that always share their state) within your app (eguseProduct('identifier')
)