We are currently in the proces of migrating some component to Vue 3 script setup style. But have have found some difficulties integrating this.
We are using a customHelper
export const customHelper = createHelpers({
getterType: "getField",
mutationType: "updateField"
});
And would like to use it inside a computed like this:
let somestate = computed(() =>customHelper.mapFields(["somestate"]);
It compiles, until we try to change the value.
somestate.value = "new value" <- this won't compile.
Is there anything we can do to make this work?