Skip to main content
Best practices
0 votes
2 replies
66 views

const store = reactive({ a: [], b: computed(()=> a.find('needle')), use computed c: ()=> a.find('needle') // or a method }) How should one go about using a computed property in a ...
TurtleTread's user avatar
  • 1,324
0 votes
1 answer
57 views

I'm working with Vue 3's Composition API, and I’m trying to provide a ref that is part of a reactive object. However, when I inject it in a child component, I get the raw value, not the reactive ref. ...
SajjadLabs's user avatar
0 votes
0 answers
69 views

I'm playing around with Vue Data Grid (AG Grid) and stumbled across a strange behavior wrt reactivity, exemplified by the following minimal component App (plain JS): <script setup> import {...
bisgardo's user avatar
  • 4,708
0 votes
0 answers
61 views

when using the selctCategory function to replace the existing route parameters, I receive an error that states "devices:1 Uncaught (in promise) Maximum recursive updates exceeded in component . ...
Tasha Smith's user avatar
0 votes
3 answers
429 views

I am working on a vue3 project, which currently has a lot of code extracted in TypeScript files as simple functions. I have realized, that this code structure is getting dirty over time, due to its ...
Bjarne Herrmann's user avatar
0 votes
0 answers
80 views

"vue": "^2.7.16" "nuxt": "^2.18.1" "@nuxt/bridge": "^3.3.1" I have a composable that is using Composition api. import { ref, reactive, } ...
Sambuxc's user avatar
  • 510
0 votes
0 answers
58 views

I have a very basic tiptap editor setup in VueJS, something like this: // TipTap.vue <template> <div> <editor-content :editor="editor" spellcheck="false" /> ...
Gryphz's user avatar
  • 33
0 votes
0 answers
43 views

I would like to disable the submit button in my Vue application if the user hasn't entered data in the donationInput input field. I'm sure I'm missing something basic, thanks for your help identifying ...
Nick Bewley's user avatar
  • 9,319
0 votes
1 answer
62 views

Electron app with Vue 3. Ubuntu 24.04 Chrome/98.0.4758.141 Electron/17.4.7 node v23.5.0 @vue/cli 5.0.8 [email protected] It reads a file from local disk and loads it into a reactive variable in Vue 3 so I ...
James C's user avatar
  • 685
1 vote
0 answers
31 views

I'm relatively new to VUE JS. I have a menu, opening onclick of a button inside a component - SelectionMatrix.vue Inside the menu, I have one select box at the top which has options of 5 different ...
Divya Bharathi's user avatar
1 vote
1 answer
57 views

This official Vue.js documentation claims that the ref() API in Vue 3 uses getters and setters. In Vue 3, Proxies are used for reactive objects and getter / setters are used for refs. This would ...
Ahmad Shahwan's user avatar
0 votes
3 answers
80 views

I have an object of documents that I manage by id within my composable, while to the outside revealing a computed (derived, readonly) state: const state = reactive({}) export const useDocs = () => ...
Jankapunkt's user avatar
  • 8,481
1 vote
1 answer
253 views

I'm working on a Nuxt project using VueJS and Zod for form validation, and one field is a input type="file". The issue is that, on the first file selection, the input does not display the ...
kyljmeeski's user avatar
0 votes
1 answer
70 views

Consider a reactive object (or array) that is dynamically populated with data: import { reactive, computed } from 'vue' const entries = reactive({}) // global state beyond Template level const docs = ...
Jankapunkt's user avatar
  • 8,481
1 vote
1 answer
484 views

I am quite a newbee to vue and would like to ask for an explanation how to cleanly accomplish this szenario: I have an ref object which is a nested object with arrays and other objects in it. there is ...
Peter Hoehne's user avatar

15 30 50 per page
1
2 3 4 5
29