Vue 3 Composition API: Why and When
I discuss what the Composition API brings over Options API in Vue 3, and when you should prefer it, with concrete examples.
Category
HTML, CSS and frontend interface development: layout, component design and browser behaviour. (Page 2/4)
This category has 19 posts.
I discuss what the Composition API brings over Options API in Vue 3, and when you should prefer it, with concrete examples.
When should you reach for Alpine.js, and when should you not? I discuss the right scale for UI needs that don't require a full framework.
Why I adopted the utility-first CSS paradigm with Tailwind CSS v1.0, the trade-offs I encountered, and when it actually makes sense.
React 16.8 introduced the Hooks API: how it shifted component authoring from classes to functions, what you gain, and what to watch out for.
Practical notes on keeping the request/response layer clean in the UI using Axios interceptors, error handling, and shared configuration.
How I shifted from page-centric thinking to component-centric thinking, and how Vue.js makes that shift practical.