Angular Community Meetup | Sept 22nd, 2023 | Alain Chautard, Eduardo Roth, & Giovanni Rivas

Alain Chautard

Discover how Angular's new Signals feature simplifies state management, enabling reactive and controlled updates, and learn how to apply progressive state management approaches to your applications.

Key takeaways
  • Signals are a new addition to Angular and can be used for synchronous events like clicks or inputs.
  • Signals can be read synchronously and provide a new way to manage state in Angular.
  • State management is a common problem in web development and can be achieved using various libraries and approaches.
  • Features like feature flags can be used to enable or disable features in an application at runtime.
  • Signals can be used to manage state in a reactive way, by combining multiple signals into a new one.
  • Computed signals can be used to generate a new signal based on the changes of different signals.
  • Signals can be exposed as read-only, allowing for a more controlled way of accessing the state.
  • State management is not necessary for small applications, but becomes important as applications grow in complexity.
  • There are many options available for state management in Angular, including services, data bindings, and libraries like NGRX and State Management.
  • Signals provide a way to simplify state management by providing a clear way to define where data lives, how it is updated, and when it changes.
  • Progressive state management is an approach that recommends starting with simple solutions and gradually moving towards more complex ones as needed.