NgRx (with NgRx Data) - The Complete Guide (Angular 20)
NgRx (với NgRx Data) - Hướng dẫn Toàn diện (Angular 20)
Bạn sẽ học được gì
Yêu cầu
Đối tượng phù hợp
Nội dung khóa học
Giới thiệu khóa học
This course is a complete guide to the new NgRx Ecosystem, including NgRx Data, Store, Effects, Router Store, NgRx Entity, and DevTools, and comes with a running Github repo
This Course in a Nutshell
State management is the number one topic to know when it comes to frontend architecture design choices. Why choose to do state management in a single page application, when to do it and why, what are the benefits, and what are tradeoffs?
These are all critical questions that we will address in this course, as we give you an extended guided tour of the NgRx Ecosystem.
The most popular state management library in the Angular space is NgRx, and for good reasons. The latest release of NgRx is probably one of the most important releases in the whole Angular ecosystem recently. Although backward compatible, it contains so much new functionality that it's almost a brand new state management library.
Under the hood, the core concepts of Actions, Reducers, Effects, Entities, and Selectors remain the same, but we have now a brand new API for managing these concepts in a much less verbose way. Also, we have the inclusion of NgRx Data, which is a new and very powerful way of managing Entity Data.
Actually, NgRx Data is a powerful abstraction layer on top of NgRx, that allows us to add state management to large parts of our application without having to write much code at all!
Course Overview
In this course, we are going to take a small existing application that is built without any state management. We are going to understand what are the consequences of not doing state management by identifying some problems that the application has in its initial form.
Then we are going to start refactoring the application, and we are going to add state management to the application multiple screens step-by-step. We are going to start with the Authentication features of the application, and then we are going to move on to the entity data management part.
We are going to explain at length all the key concepts of NgRx: Actions, Reducers, Effects, and Selectors, and we are going to explain in detail the Store architecture itself and understand its benefits.
Throughout the course we are going to introduce step-by-step and explain in detail the NgRx Store module, NgRx Effects, we are going to cover in detail NgRx Entity and the Entity format, we are going to install and do a guided tour of the NgRx Dev Tools, the NgRx Router Store, and the time-travelling debugger.
We are also going to learn how to make the most out of NgRx Data, and learn how to customize it in order to manage entity data with minimal application code. We will cover NgRx while keeping in mind best practices like good Action hygiene.
Table of Contents
This course covers the following topics:
Introduction to State Management
The Store Architecture In Detail
NgRx Key Concepts
Actions and Action Creators
Reducers
NgRx Effects
Selectors
Adding Authentication to an NgRx Application
NgRx Entity and the Entity Format
NgRx DevTools
NgRx Time Travelling Debugger
NgRx Runtime checks and Store Immutability
NgRx Router Store
NgRx Data and Entity State Management
NgRx Best Practices
What Will You Learn In this Course?
At the end of this course, you will feel comfortable with the notions of state management and the centralized store solution in general
You will feel comfortable designing new Applications using NgRx, using a simple methodology and you will know in-depth the complete Ngrx library ecosystem: including the Ngrx Store, Effects, Entity, and NgRx Data libraries
You will know how to quickly scaffold parts of the solution using Ngrx Schematics, and how to set up the Ngrx DevTools from scratch, including the router integration
Khóa học liên quan
Khám phá thêm các khoá học cùng chủ đề
Hướng dẫn xây dựng ứng dụng MEAN Stack với Angular & NodeJS
Maximilian Schwarzmüller
Khóa học Angular toàn diện: Từ cơ bản đến nâng cao
Mosh Hamedani
Xây dựng ứng dụng từ đầu với ASP.NET Core và Angular
Neil Cummings
Full Stack: Xây dựng Website Thương mại Điện tử với Angular và Java Spring Boot
Chad Darby
Khóa học Angular cấp tốc cho Lập trình viên bận rộn
Mosh Hamedani
NgRx Signal Store 19-20 cho Angular - Hướng dẫn còn thiếu
Kobi Hari
React Query / TanStack Query: Quản lý State Server trong React
Bonnie Schulkin
Flutter BLoC - Khóa Học Toàn Diện Từ Cơ Bản Đến Nâng Cao
Tiberiu Potec
Flutter & Firebase: Xây dựng ứng dụng Thương mại điện tử và Quản trị [2024]
Hadi Kachmar
React, React Redux và Redux Saga - Làm chủ State/Hooks trong React
Icaro Lavrador
Redux với React JS: Học Redux cùng React JS hiện đại
Oak Academy
Flutter - Firebase - SQLite: Xây dựng Ứng dụng Đa cửa hàng (Toàn diện & Chuyên sâu)
Salah Shams
Flutter & Dart Cốt Lõi - Xây Dựng Ứng Dụng Di Động Chuyên Nghiệp
Syed Tanvir Ahmad