I was just reading your Vue bindings! Maybe they could be simplified by manually triggering a ref without the reactive proxy 👀
export function enableVueBindings({ shallowRef, triggerRef }) { // Vue namespace
customCreateAtom = (name, onBecomeObserved) => {
onBecomeObserved?.()
const ref = shallowRef()
return {
reportObserved: () => ref.value // read
reportChanged: () => triggerRef(ref) // write
};
};
customReaction = undefined // automatic in Vue
}
Totally untested 😅
I was just reading your Vue bindings! Maybe they could be simplified by manually triggering a ref without the
reactiveproxy 👀Totally untested 😅