Learn How To Use State Management in Angular with NGXS

preview_player
Показать описание
This video will guide you through the Angular State Management using NGXS.
We will start by installing the library and then we will see how to create:
- the state
- the actions
- the selectors
- and last but not least, how to use the selectors in your component

Chapters:
0:00 Intro
3:40 Install and import NGXS
5:00 Create the State
9:23 Create the Actions and use them in the State
11:20 Mutate the state for a dispatched Action
14:36 Dispatch an Action from the Component
15:54 Create and use a Selector in the Component
19:21 Solution of the Toggle Item
20:30 Thank you

******************************************************
Let's connect
******************************************************

#angular #statemanagement #angulartutorial #ngxs
Рекомендации по теме
Комментарии
Автор

Thank you so much... most tutorial videos are not tutorial, they just code and comment on what they are doing. You actually EXPLAIN what thinks work. You're a very good teacher :)

fryser
Автор

wonderful way to explain such a complicated concept, bravo!

paoloantonior
Автор

I like how you create files and write code sequentially, most tutorials don’t do that. Sequential coding help me understand better why you do what. Thank you for the tutorial. Better than following along documentation.

habibhadi
Автор

Thank you for providing such a simple explanation. You are always a life saver :)

sudiptomukherjee
Автор

No bullshit, concise and straight to the point. Thanks a ton !!

ravikant.chaudhary
Автор

The way you explain is very clear.. :).. Thanks a lot :)

ajcoder
Автор

Fanis great video has usual. Thanks for the knowledge base been shared for free

titokris
Автор

Awesome work! Now I see why people switchingto NGXS. And I don't blame them. I'm doing the same thing

sergiokagiema
Автор

This is a perfect introduction to NGXS, Thanks. You could also make one for http request call and saving to the store

ugochukwuumerie
Автор

Great video. Personally I haven't use NGXS, I see the similarities with Redux and NGRX.
Could you explain why do you prefer NGXS than NGRX?

madeOfClay
Автор

what extension is that where it specifies as it shows in the video?

obj:
state:
option:
etc

cristioanca
Автор

Thank you so much. But I have a question, is it possible to create a state dynamically?

nfallycoly
Автор

Please make a video for create sub-category based on category like e-commerce

benjack
Автор

Awesome video ...
Is there any tool to see our state like ReduxDev Tools or this tool is working also for NGXS?

PantelisPapasavvas