79394860

Date: 2025-01-28 18:35:32
Score: 2
Natty:
Report link

Had same issue.. I tried a lot but only reactive (not ref) + Object.assign() helped me with this issue, so:

  1. Create state --> const state = reactive({ visible: false, });
  2. composable/hook should return Object.assign(state, {toogle, close })
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lukian Maksym