Besides emitting values, reactive data sources like Promises and Observables provide contextual information about their state: suspense, next, error, complete. We can use them to provide valuable visual feedback to our users whenever interacting with asynchronous data. In this talk I will explain techniques on how to access the reactive context and how to efficiently make use of it in the template.
- reactive data sources: promise vs. observable
- reactive context (next, error, complete)
- the suspense state
- turn context into templates
- live demo contextual template states
- Template Triggers
This talk should give you a deep understanding of the different contextual states reactive data sources provide and how to access them. Furthermore, you will get an overview about different techniques to manage the reactive context in your template. The presented methods can be implemented right now with the toolkits of @rx-angular/cdk & @rx-angular/template and will enable you to simplify the template and component logic in your application.
Sign up to receive updates about NG Poland, including workshops, speaker previews, ticket launches, NG Awards, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.