Play by Play: Angular and ngrx
By Duncan Hunter and Lars Klint
Course info



Course info



Description
Play by Play is a series in which top technologists work through a problem in real time, unrehearsed, and unscripted. In this course, Play by Play: Angular and ngrx, Duncan Hunter and Lars Klint cover why you would want to use ngrx, the main redux principles, and how to implement action creators, effects, selectors and unit tests. Managing state in single page apps with Angular is error prone and this is where the redux pattern and the ngrx library can help stop your app from becoming a bowl of mutable soup. By the end of this course, you’ll have the fundamental concepts of the redux pattern and ngrx. You will also know what decisions you will need to make when implementing ngrx and what are the pros and cons of each option.
Section Introduction Transcripts
Course Overview
Hi, everyone. My name is Duncan Hunter. And I'm Lars Klint. And welcome to the Play by Play on Angular and ngrx. I'm a software architect from Brisbane, Australia where I'm lucky enough to make Angular applications for a range of different clients. And I'm a freelance solution architect at larsklint. com, Microsoft MVP, speaker, and expert in Australian Outback Internet. Yes, really! I've been building software systems from tiny websites to massive telecommunication systems for the past 20 years. The ngrx library for Angular and the Redux pattern that it implements is one of the biggest and most important changes to how we write front-end applications in ease. Many say using the Redux pattern for state management is more important to them for complex web applications than the actual framework they use like Angular or React. In this course we're going to cover what is ngrx and the Redux pattern and which types of applications benefit most from ngrx. Second, we will talk about creating action creators to have better type safety, code navigation, and code completion when dispatching actions. Then we discuss how to manage side effects with the ngrx Effects library after which we cover the fundamentals of reduces and updating the application state. Then we finish up looking at how writing tests is easier with ngrx and how to use the awesome Redux dev tools; you'll love these! Before beginning the course you should be familiar with Angular version 2 or higher and JavaScript in general. I hope you will join us on this journey to learn ngrx with the Angular and ngrx Play by Play at Pluralsight.