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
Recently we took a stride to resolve #1006 by implementing @urql/vue and supporting Vue officially! Welcome to the family, Vue!
We've already released 0.2.0 since then and haven't quite reached 1.0.0 yet, so why am I writing about this already or only now? I am because I feel that we've already reached a mature level with our API as compared to where Svelte was when it reached v1.0.0.
This isn't only on us, but there are multiple reasons for this. Vue 3's Composition API and hooks-like libraries takes a lot of questions away from our API design and let us focus on making the actual implementation work well. With prior art like Villus there weren't many unanswered questions around what the API should look like.
Furthermore in 0.2.0@LinusBorg stepped up to help us with finishing up some quirks in our implementation and we've been able to focus on actually making the bindings work well and idiomatic.
Apart from this the API already includes support for reactive inputs (and reactive outputs of course) all around, so we expect that it does cover all bases. The pausing API in useSubscription and useQuery is extensive and can be used both imperatively and reactively, which makes these functions pretty versatile. And to top it all off we're already supporting Vue 3's suspense support, which we're really excited about, since it already enables some complex loading and SSR use-cases out of the box.
How do I get started?
We've written extensive new docs to signal how to use this new API, and they've just been released:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Recently we took a stride to resolve #1006 by implementing
@urql/vue
and supporting Vue officially! Welcome to the family, Vue!We've already released
0.2.0
since then and haven't quite reached1.0.0
yet, so why am I writing about this already or only now? I am because I feel that we've already reached a mature level with our API as compared to where Svelte was when it reachedv1.0.0
.This isn't only on us, but there are multiple reasons for this. Vue 3's Composition API and hooks-like libraries takes a lot of questions away from our API design and let us focus on making the actual implementation work well. With prior art like Villus there weren't many unanswered questions around what the API should look like.
Furthermore in
0.2.0
@LinusBorg stepped up to help us with finishing up some quirks in our implementation and we've been able to focus on actually making the bindings work well and idiomatic.Apart from this the API already includes support for reactive inputs (and reactive outputs of course) all around, so we expect that it does cover all bases. The pausing API in
useSubscription
anduseQuery
is extensive and can be used both imperatively and reactively, which makes these functions pretty versatile. And to top it all off we're already supporting Vue 3's suspense support, which we're really excited about, since it already enables some complex loading and SSR use-cases out of the box.How do I get started?
We've written extensive new docs to signal how to use this new API, and they've just been released:
Beta Was this translation helpful? Give feedback.
All reactions