2 ms·
The combination of Vue composition API and setup scripts is really awesome. It reduces a lot of boilerplate for many common scenarios. If you are also using Gr
by lf-non 5y ago
The combination of Vue composition API and setup scripts is really awesome. It reduces a lot of boilerplate for many common scenarios.
If you are also using GraphQL, I recommend taking a look at the new composition API support in Vue Apollo [1] as well. This post [2] summarizes how this integration looks like in practice for a typescript project.
[1] https://v4.apollo.vuejs.org/guide-composable/ https://v4.apollo.vuejs.org/guide-composable/
[2] https://lorefnon.me/2021/08/08/Vue-composition-api-and-type-safe-graphql-access/ https://lorefnon.me/2021/08/08/Vue-composition-api-and-type-...