Hi VueJS lowers!
After the story with my friend Philipp and his bakery, we finally opened the SOLID principles topic. To continue improving our VueJS skills I’d like to start a new section I called “Vue tricks” where I’ll share my mind about some interesting moments during my work with amazing VueJS.
During the last time, Philipp had some difficulties in his bakery with connecting to API services. Today I’d like to talk about smart API module for Vue and Vuex. Probably, sometimes or event often you noticed that your api connection code is not consistent and looks like a mess. In this article I will share how to create a new API module you can easily use in your Vue components and Vuex actions just typing
and all (in this case) tasks will be fetched into your component or store.
APIs can be as simple as 1 endpoint for use by 100s of users or as complex as the AWS APIs with 1000s of endpoints and 100s of thousands of users. Building them can mean spending a couple of hours using a low-code platform or months of work using a multitude of tools. Hosting them can be as simple as using one platform that does everything we need or as complex as setting up and managing ingress control, security, caching, failover, metrics, scaling.
Today we will be creating a simple counter app from scratch to learn the basics of using Vuex 4 with Vue 3 Composition API. We'll start by taking a look at Vuex concepts like state, getters, and mutations and how to use them within the options API, then we will switch over the compositions API and implement the same functionality. We'll also create some reusable helper functions to make accessing the store in the composition API more readable.
Measuring website activity provides only half the story. See how to best track the developer's journey and what funnel stages makes sense for API-first products
Selling to developers is hard. How to market to developers efficiently using paid advertising leveraging inbound marketing techniques.