NgRx Signals Store: Angular State Management Made Simple

  Рет қаралды 2,708

Code with Ahsan

Code with Ahsan

Күн бұрын

Пікірлер: 17
@CodeWithAhsan
@CodeWithAhsan 3 ай бұрын
What is your go-to method for state management? Local observables? Local Signals? Shared Services? NgRx? NgRx Signals?
@vOnez212
@vOnez212 2 ай бұрын
Great video. Thanks for sharing! Do you have a PDF version of the book that get's updates?
@CodeWithAhsan
@CodeWithAhsan Ай бұрын
Thanks. Not at the moment. The book itself is pretty relevant still with all the recent advancements in Angular. Especially the core of it. Apart from signals, hydration, and a few more concepts
@veenz.filetti
@veenz.filetti Ай бұрын
Thank you so much for the video. Clear and simple. What about a video that shows how to handle HTTP requests with signal store? :)
@CodeWithAhsan
@CodeWithAhsan Ай бұрын
Great suggestion! I’ll look into it
@MG-wx8yx
@MG-wx8yx Ай бұрын
Great content, thank you so much.
@CodeWithAhsan
@CodeWithAhsan Ай бұрын
@@MG-wx8yx awesome! I appreciate the feedback. Is there something else you want me to create content on?
@MG-wx8yx
@MG-wx8yx Ай бұрын
@@CodeWithAhsan I have this problem, I'll appreciate it so much if you can help. I want to use data from the store to display in the chart, specifically, Chartjs. But I can't figure out how to get data in the component (.ts file) from the store, it's only available in the template (.html). How can I get the data in the component after the store has been patched with data? No matter how I do it, the variable from the store only prints the initial value, like if it was 0 or [] empty array, it will print that in the console. This makes it hard to use the store for displaying data in the chart, such as Chartjs chart because the data is not available in the component, only available in the template of the component. Thanks in advance.
@CodeWithAhsan
@CodeWithAhsan Ай бұрын
@@MG-wx8yx Do you have a public repository I can see the code at?
@MG-wx8yx
@MG-wx8yx Ай бұрын
My biggest issue is how to access the data from the store (signalstore) inside the component after the store is already initialized. No matter how I do it, the variable from the store only prints the initial value, like if it was 0 or [] empty array, it will print that in the console. This makes it hard to use the store for displaying data in the chart, such as Chartjs chart because the data is not available in the component, only available in the template of the component. Can anyone help?
@nemanjazivaljevic1656
@nemanjazivaljevic1656 2 ай бұрын
Providing in parent component instead of a "root" is better. When we provide it in parent all children would have access to it and will be destroyed when parent is destroyed.
@CodeWithAhsan
@CodeWithAhsan 2 ай бұрын
Good point! Yes.
@musoverda
@musoverda 3 ай бұрын
you present the material too quickly - it’s unclear who you’re telling it for
@CodeWithAhsan
@CodeWithAhsan 3 ай бұрын
Thank you for the feedback. I will access it for future videos.
@eihamsalieba8662
@eihamsalieba8662 2 ай бұрын
I could follow easily, but yeah for this you need to be focused 100% on the video. So a bit slower would be minimal better for the average person. But really nice tutorial 👍
@CodeWithAhsan
@CodeWithAhsan Ай бұрын
@@eihamsalieba8662 awesome feedback :) I’ll remember in future videos
🚦 Angular NgRx Signal Store Crash Course (For NgRx Beginners)
1:08:54
Angular University
Рет қаралды 24 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 43 МЛН
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 92 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 220 МЛН
Angular Crash Course | Learn modern Angular in 90 minutes
1:29:09
Code with Ahsan
Рет қаралды 17 М.
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 172 М.
I bet you can understand NgRx after watching this video
22:48
Joshua Morony
Рет қаралды 189 М.
NGRX Signal Store with Manfred Steyer
1:10:48
AngularAir
Рет қаралды 9 М.
Databutton: The Ultimate AI App Builder - Beats V0, Cursor & Bolt!
27:56
Code with Ahsan
Рет қаралды 1,3 М.
🚦Angular NgRx Signal Store: WHAT are Deep Signals??
13:53
Angular University
Рет қаралды 9 М.
NgRx Signal Store - Is It a NgRx Replacement?
20:17
Monsterlessons Academy
Рет қаралды 12 М.
Deep Dive into Angular statemanagement with NGRX
2:07:22
Let's Program
Рет қаралды 7 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 645 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 43 МЛН