Closed fl0w3rs closed 3 years ago
Question in the title. Example:
import { ref } from 'vue'; export default { setup() { const test = ref(''); return { test, }; }, sockets: { testResponse(data) { // how can I update test ref from this place? }, }, };
Realized that you can initialize ref outside of setup -.-
Don't fucking do like that.
Question in the title. Example: