Search⌘ K
AI Features

Introduction to Services

Explore the concept of Ember services to manage shared state and user sessions efficiently. Understand when and how to create and inject services for maintaining application-wide data such as user information and shopping carts.

Introduction

An Ember service is an Ember object used for keeping the state of a specific attribute. Ember services can be made available across the whole application throughout the application’s lifecycle. For example, we can access a service from different components and routes. Different Ember services can also communicate with each other.

When should

...