← All Trainings

Vue.js Composition API

A focused training on Vue 3's Composition API — covering reactive state with refs and reactive(), computed properties, watchers, lifecycle hooks, custom composables, and dependency injection with provide/inject.

Duration: 1–2 daysLevel: IntermediateLanguage: German / English

The Composition API is the modern foundation of Vue 3 — enabling better code reuse, type inference, and logic co-location compared to the Options API. This training takes developers through every building block of the Composition API with hands-on exercises at each step.

Who is this training for?

Vue.js developers familiar with the Options API who want to migrate their knowledge to Vue 3's Composition API, or developers new to Vue 3 who want to start with the recommended approach from the beginning.

Agenda

Introduction to the Composition API

  • What is the Composition API and why was it introduced?
  • How the Composition API compares to the Options API

Setting Up

  • Installing Vue.js 3
  • Setting up a development environment for the Composition API

The setup() Function

  • The role of setup() in Vue components

Refs and Reactive Properties

  • ref() and reactive() — differences and use cases
  • Using reactive state in templates

Computed Properties

  • Defining computed values in the Composition API

Watchers

  • watch() and watchEffect() — differences and use cases

Lifecycle Hooks

  • Composition API equivalents of Options API lifecycle hooks

Custom Composables

  • Extracting and reusing logic with custom composable functions

Provide and Inject

  • Dependency injection across the component tree

Reactive Mutations

  • Patterns for safe state mutation

Setup Context

  • Working with attrs, slots, and emit in setup()

Book this Training

Interested in this training for your team? Reach out and we'll put together a proposal tailored to your requirements — on-site or remote, predefined agenda or custom.

Request this Training

Impressum

Capsimity GmbH

Büroanschrift: Adenauerallee 21, 1. OG 61440 Oberursel

Rechnungsanschrift und Firmensitz: Kurmainzer Str. 73 61440 Oberursel Deutschland

+49 (0)152 02981846
post@capsimity.com
https://capsimity.com

Geschäftsführer: Christoph Beberweil Amtsgericht: Bad Homburg HRB 16926 UmSt-Id gemäß §27a Umsatzsteuergesetz: DE455913626

Datenschutz

This page does not set any cookies. It uses Javascript only for gathering visitor statistics with plausible. The site is usable without Javascript. Visitors of this website are anonymous.

This site does not use any cookies or similar technologies.