Skip to content

Conversation

@jf908
Copy link

@jf908 jf908 commented Apr 11, 2025

This PR changes the type Ref<Array<T>> | Array<T> to vue.MaybeRef<Array<T>> .

A couple of Vue's reactivity utility methods were also swapped in (isRef and unref) to make the code slightly more idiomatic but this PR otherwise makes no functional changes.

Edit: I didn't realise until after I made this PR that dragAndDrop supports writable computed refs without MaybeRef, woops. Well it's a nice code clean-up anyway.

@vercel
Copy link

vercel bot commented Apr 11, 2025

@jf908 is attempting to deploy a commit to the Formkit Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant