You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace klona/full with deep copy from another library.
🧱 Problem Statement / Justification
I'm trying to implement ark-vue2 based on ark-vue (vue3). Most of it feels good, but I encountered the problem of Maximum call stack size exceeded. After checking, I found that machine internally uses klona/full for deep copying. The Ref in vue2 has a reference property __ob__, which will cause klona to enter an infinite loop.
✅ Proposed solution or API
klona/index / lodash.cloneDeep
↩️ Alternatives
📝 Additional Information
The text was updated successfully, but these errors were encountered:
I'll update the docs to make them clearer. I'm sorry about the inconvenience, but I think you should upgrade to Vue 3 instead.
Regarding the issue in Next.js @0fatihyildiz, could you open a new issue with a reproduction? I'm curious to see and fix it. I might consider using structuredClone instead.
I'll update the docs to make them clearer. I'm sorry about the inconvenience, but I think you should upgrade to Vue 3 instead.
Regarding the issue in Next.js @0fatihyildiz, could you open a new issue with a reproduction? I'm curious to see and fix it. I might consider using structuredClone instead.
Of course, I can create a reprod in a few hours, I will let you know here when it is done. fyi
🚀 Feature request
Replace
klona/full
with deep copy from another library.🧱 Problem Statement / Justification
I'm trying to implement
ark-vue2
based onark-vue
(vue3). Most of it feels good, but I encountered the problem ofMaximum call stack size exceeded
. After checking, I found that machine internally usesklona/full
for deep copying. TheRef
invue2
has a reference property__ob__
, which will causeklona
to enter an infinite loop.✅ Proposed solution or API
klona/index
/lodash.cloneDeep
↩️ Alternatives
📝 Additional Information
The text was updated successfully, but these errors were encountered: