WATCH NEXT: Angular with NgRx - Building Angular Project From Scratch - kzbin.info/www/bejne/rJTJi2N7htWMiqMsi=BptT7eqgflHIoQiQ
@krish4indians6 күн бұрын
Thank you! You’ve absolutely teared it down with this NgRx video! Your explanation of the concepts and practical examples is spot on. It’s clear, engaging, and incredibly helpful-amazing work!
@MonsterlessonsAcademy5 күн бұрын
Glad it was helpful!
@ThalisUmobi2 жыл бұрын
Started using Angular with NGRX after watching one of your videos, and after we pass the boilerplate phase, its a life changer! So much control.
@MonsterlessonsAcademy2 жыл бұрын
Yes exactly. Lots of boilerplate but also deep control.
@rembautimes8808 Жыл бұрын
Thank you for this amazing tutorial - I have been following your videos for a couple of months already and admire the thought that goes into it. I code for a personal project and tried my hand at ngrx last year and gave up. So I was a bit apprehensive this time round and followed your steps attentively so I wouldn't get lost. And walla - it worked. Without your careful explanation, it would be so easy to get confused for first timers. One modification I did was to wrap the actions within a namespace to make the import easy. ( ChatGPT was offering some suggestions but I think your way is better as the flow is well separated into actions, effects, reducers and selectors )
@MonsterlessonsAcademy Жыл бұрын
Glad to hear that!
@marcopolocs2 жыл бұрын
Gotta say, you have great videos about Angular. The RxJS video was one of the best and only then did I understand the usage of async pipe for example. Can't wait to jump into NgRx as well!
@MonsterlessonsAcademy2 жыл бұрын
Then I can recommend you my Angular course 12 hours long where we create a real application and using heavily NgRx and RxJS. monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
@f3t312 Жыл бұрын
Great work, thanks!
@MonsterlessonsAcademy Жыл бұрын
Thank you so much for your support. It means a lot to me!
@radimsafran84752 жыл бұрын
Best intro to Ngrx i've seen so far! :)
@MonsterlessonsAcademy2 жыл бұрын
Wow, thanks!
@ParshwaChokshi Жыл бұрын
short, simple, and highly informative
@MonsterlessonsAcademy Жыл бұрын
Glad you liked it!
@nelsonmudanya30152 жыл бұрын
Great insights, everything ngrx explained in under half an hour
@MonsterlessonsAcademy2 жыл бұрын
Thank you!
@dayronalfaro9461 Жыл бұрын
It change my mind about NgRx and React Redux because I dont like React too much but with this video I will give a try it seems simple the way of handling data across the application, life saver
@prafull9821 Жыл бұрын
Your videos are very helpful to understand the concept in simple ways
@MonsterlessonsAcademy Жыл бұрын
Glad to hear that
@okeagi-tuedor5935 Жыл бұрын
The best video on the topic. Appreciation.
@MonsterlessonsAcademy Жыл бұрын
Glad you think so!
@ma08serrano2 жыл бұрын
I have been waiting for this course. Thanks for much.
@MonsterlessonsAcademy2 жыл бұрын
You are welcome!
@mustufazaki34382 ай бұрын
Very well explained with great examples
@MonsterlessonsAcademy2 ай бұрын
Glad you liked it!
@mirciulicasm2 жыл бұрын
Thank you, very simple and straightforward!
@MonsterlessonsAcademy2 жыл бұрын
Glad it was helpful!
@uaplatformacomua11 ай бұрын
Awesome course - much better a lot of I bought before!!!! Thank you.
@MonsterlessonsAcademy11 ай бұрын
Thanks!
@sdev8921 Жыл бұрын
18:10 great explanation - this solved my issue
@MonsterlessonsAcademy Жыл бұрын
Glad to hear that!
@andromadusnaruto15442 жыл бұрын
Totally awesome tutorial! I've been learning state management recently but I've not been able to fully comprehend the concept, and proper usage, of selectors. However, after watching this, all seems clear now. Just have to do more practice.
@MonsterlessonsAcademy2 жыл бұрын
Glad it was helpful!
@andromadusnaruto15442 жыл бұрын
@@MonsterlessonsAcademy I forgot to say thanks! Thank you!
@Tillbert994 ай бұрын
Danke!
@MonsterlessonsAcademy4 ай бұрын
Thank you so much for your support. It means a lot to me!
@come_and_we_worship2 жыл бұрын
Excuse me ! Its Clever from East Africa. This is surely amazing
@MonsterlessonsAcademy2 жыл бұрын
Thank you!
@muralir29392 жыл бұрын
I saw many videos but it's never used practically on projects but you rockkkkkk. It's working fine. Fantastic teacher 👏 ❤️
@MonsterlessonsAcademy2 жыл бұрын
Thank you so much 😀
@ghkpr2 жыл бұрын
thanks, the way you teach is just perfect
@MonsterlessonsAcademy2 жыл бұрын
Glad you think so!
@nguyencuonguuu Жыл бұрын
Excellently explained! Thank you sir.
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@anthonydeville2372 жыл бұрын
Thanks for this amazing structured and well-explained tutorial. Helped me a lot in understanding the basic concepts of NgRx! :)
@MonsterlessonsAcademy2 жыл бұрын
Glad it helped!
@eagold2 жыл бұрын
really amazing tutorial I watched a lot of videos, but only after that I started to understand how to use NgRx, maybe watching the previous videos I got a general idea, or maybe your video is so good
@MonsterlessonsAcademy2 жыл бұрын
Glad it helped!
@onlydev4099 Жыл бұрын
Thank you man, You are a great teacher for me
@MonsterlessonsAcademy Жыл бұрын
Glad to hear that!
@Shinee3e2 жыл бұрын
Thank you so much for the explanation but i think it would be better to use a normal IDE as it's a bit hard to keep track of your solution structure while watching
@MonsterlessonsAcademy2 жыл бұрын
You are welcome! You can see a structure in the source code in the description
@regedam75592 жыл бұрын
Thats super useful video for me! Thank you a lot, man
@MonsterlessonsAcademy2 жыл бұрын
You are welcome!
@thomasbisson85239 ай бұрын
Very clear thank you. If you could just change your IDE for your demo it would be awesome, there is no file tree so it's quite hard to follow what you are saying + read the code your typing + understanding in which file do you write the code. VSCode is the most popular IDE so it could be a plus
@MonsterlessonsAcademy9 ай бұрын
I'm using vscode in newer videos
@karthikeyan8782 жыл бұрын
Please make a video on below topics 1. Husky + lint-staged + eslint + prettier configuration with Angular 2. Feature flag implementation in Angular
@MonsterlessonsAcademy2 жыл бұрын
Thanks for the ideas. Will add them to the list of future videos.
@stickyamp59965 ай бұрын
I've been hours struggling with a problem, i implemented redux just like you do but when i try to access in a guard(canActivate) to some property " return this.store.select(isAuthSelector).pipe(..." (Knowing that in constructor i fire "this.store.dispatch(Actions.getAuth());" i get an error that says that state is undefined in the selector. And indeed using redux tools i kind of see that state is undefined until my effect which i set to 2 seconds delay completes. I dont understand
@MonsterlessonsAcademy5 ай бұрын
Your stream of data is empty for 2 seconds. You auth guard should wait for the value and not get undefined this.store.seelct(...).pipe(filter(value => value !== undefined)) // or whatever you have as a default.
@stickyamp59965 ай бұрын
@@MonsterlessonsAcademy Indeed i think what might be happening is that my ngrx store is somehow loading with some delay. I try to fetch data from store in guards or app component constructor/ngOnInit but data is undefined there. But a second later, when my app loads i see in redux tools the state loaded. This is not about the 2 seconds wait in the service sadly :(
@stickyamp59965 ай бұрын
Honestly i think that initialState is not actually setting the initial state, but that is not possible, right? right?! :D
@Alexanderscodesamples-x4u3 ай бұрын
Thank you for the video.
@MonsterlessonsAcademy3 ай бұрын
You're welcome!
@GezimSadrija2 жыл бұрын
Small tip: Use the ngrx-immer lib for Angular. It allows you to write „normal“ code inside your reducers instead of having to write immutibality safe code.
@MonsterlessonsAcademy2 жыл бұрын
It is of course a choise of every developer himself but I can't agree with ideas of ngrx-immer or immer itself. I write my whole code in javascript or any framework in immutable way. Immer just converts your "normal" not immutable expressions in immutable. So instead of seeing correct immutable code it "simplifies" writing immutable code by hiding how you should write it correctly. So from my perspective it is 1 more layer which can break/be difficult to debug + makes your code not obvious and doesn't teach correct patterns.
@enes98li1 Жыл бұрын
You made it look easy, thank you!
@MonsterlessonsAcademy Жыл бұрын
You're welcome!
@liga_frontend2 жыл бұрын
Это супер, спасибо за то, что ты делаешь
@sivasankaran9910 ай бұрын
❤ thank you so much buddy, I'm from India
@MonsterlessonsAcademy10 ай бұрын
You are welcome!
@derschratling5604 Жыл бұрын
This is a very helpful Video, thanks a lot!
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@dumidupramith38812 жыл бұрын
can you videos on vs code. its very user friendly and beginers can easily understand. your explanation good but code editor problem for me
@MonsterlessonsAcademy2 жыл бұрын
Nope because I use the editor which is comfortable for me. It won't be professional with editor that I'm not using. You can always take a source code from the description.
@gaetanlavit7330 Жыл бұрын
Thanks, never disappoints
@MonsterlessonsAcademy Жыл бұрын
You are welcome!
@newen1314 Жыл бұрын
As a beginner the learning curve was already severe, and now since version 17 it changed again with standalone components... I am kinda sad as I was very excited viewing this tutorial about ngrx that was highly recommended by my tutor, maybe I can still watch the whole course and practice with a sample project using version 16?
@MonsterlessonsAcademy Жыл бұрын
Angular 16 already allows using standalone components. You can still write modules in both versions.
@DeepakNegiSunny2 жыл бұрын
Its was very helpful "after watching tutorials on Redux", Can u make a video with more complex real time example covering more aspects of each building block of NRGX
@MonsterlessonsAcademy2 жыл бұрын
I heavily cover everything needed to use NgRx in production in my 12 hours Angular course. monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
@Georgii1212 Жыл бұрын
Can you please recommend a video or tutorial explaining REDUX more in detail ? Another question : Angular has 2 way data binding, while, in my understanding, Redux is used in the context of 1 way data binding such as React library. So why, in this case, use Redux with Angular ? Thanks
@MonsterlessonsAcademy Жыл бұрын
Sure! I already made videos on that kzbin.info/www/bejne/nn62hYJqmNWDl7M kzbin.info/www/bejne/rIaoknela8aLn8U kzbin.info/www/bejne/nZnQe2R5rM6Gntk
@Georgii1212 Жыл бұрын
@@MonsterlessonsAcademy thanks a lot, I have watched the 2 shorter videos so far. So, in my understanding, Redux can be used independently of whether it is a vanilla JS app or React or Angular or Vue app, and no matter if the framework has 2 way data binding (Angular, Vue) or 1 way binding (React). I understood that Redux brings a strict architecture and global state which is useful for big projects with lots of developers. For smaller projects, with few developers, Redux is not necessary, as far as I understand, because Angular has services, React has Context and that is enough for those small projects.
@MonsterlessonsAcademy Жыл бұрын
@@Georgii1212 it always has 1 way data flow. Other things you wrote correct.
@MarfTaylor Жыл бұрын
do I need to make more than once the onSuccess and onFailure if I have more than one action ?
@MonsterlessonsAcademy Жыл бұрын
typically you create 3 actions for every async stuff that you do
@MarfTaylor Жыл бұрын
yes but isn't that pattern prepetitive sir ?@@MonsterlessonsAcademy
@SuperMati25 Жыл бұрын
Great video, but why you didn't continue with update and delete.
@MonsterlessonsAcademy Жыл бұрын
This video is just to bring you understanding of NgRx. If you want to learn it deeper on the real example you can check my full course about Angular and NgRx. monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
@gauravsingh-qt2zoАй бұрын
Can anyone explain when to choose angular over react?
@MonsterlessonsAcademyАй бұрын
When you have angular jobs in your city and they are paying more than for react
@dua_aur_dawa2 жыл бұрын
awesome tutorial you made thing so easy Thanks alot
@MonsterlessonsAcademy2 жыл бұрын
Glad it helped!
@MrRiseful6 ай бұрын
Hey, best regards, would you please make a course for NGXS state manager too, please?
@MonsterlessonsAcademy6 ай бұрын
I will add it to the list of ideas.
@L-Lesiv Жыл бұрын
So is it not possible to simply use service and then use action inside it or in subscribe without using effect?
@MonsterlessonsAcademy Жыл бұрын
You can but then it is not different to publish/subscribe pattern which has lots of problems. Redux is a single flow of data.
@mohammadfarhadi94072 жыл бұрын
It was awesome! thank you for sharing your knowledge for free. Did you cover everything in the todo project?
@MonsterlessonsAcademy2 жыл бұрын
I covered most of ngrx stuff but there are different advanced topics which you might learn later.
@ethelbertdickson2 жыл бұрын
Thanks so much for this video. It makes all the difference. Please what IDE were you using?
@MonsterlessonsAcademy2 жыл бұрын
You are welcome. It's Vim here is my video about it. kzbin.info/www/bejne/j6Ovmqidec12q80
@henrikinaski5062 Жыл бұрын
Hello. First thanks for such a nice video. Can you please advise me how to build a project from your repo? After cloning it I get only: index & main scripts? Where are the rest? I see on your github repo that there are more files. What I should do?
@MonsterlessonsAcademy Жыл бұрын
npm install then npm start. I don't know why you get just 2 files.
@andrewrayanit Жыл бұрын
Great work.
@MonsterlessonsAcademy Жыл бұрын
Thanks
@danilo_teixeira Жыл бұрын
How could I keep the store data after refreshing the page? When I do refresh, I'm losing the data
@MonsterlessonsAcademy Жыл бұрын
NgRx and all javascript stuff stores everything in memory. You can either use localstorage to store data between reloads or rebuild state with API calls and data.
@qwerty123246 Жыл бұрын
Nice job buddy! By the way, how can I combine multiple reducers for a single feature (I mean in StoreModule().forFeature() ) ? Is it even possible? Or I can combine MULTIPLE reducers only in StoreModule.forRoot() method? Thanks
@joelmilan7835 Жыл бұрын
Hello, please what IDE do you make use of?
@MonsterlessonsAcademy Жыл бұрын
Hi, it's Vim. Here are my videos about it kzbin.info/www/bejne/oGfYooKsibekbKs kzbin.info/www/bejne/j6Ovmqidec12q80 kzbin.info/www/bejne/jpKXkoKFd5yLkNE
@dprggrmr2 жыл бұрын
Is this a real human or some kindve new ai human? Great video!
@ninearc2207 Жыл бұрын
Thank you for your video. 🙂
@MonsterlessonsAcademy Жыл бұрын
You're welcome 😊
@davebudah2 жыл бұрын
Thanks again for this one.
@MonsterlessonsAcademy2 жыл бұрын
My pleasure!
@danilo_teixeira Жыл бұрын
Do I need meta-reducers to make it work?
@MonsterlessonsAcademy Жыл бұрын
No
@elhadjiomardione94252 жыл бұрын
Great tutorial thanks
@MonsterlessonsAcademy2 жыл бұрын
You're welcome!
@scratchercatcher67602 жыл бұрын
Thank you, you explained it very well. Can you make a video about unit test the same app please?
@MonsterlessonsAcademy2 жыл бұрын
I will add it to the list of ideas. Thank you!
@oBezBasKa2 жыл бұрын
What about if I have some request with pagination query param like (page, limit) ?
@MonsterlessonsAcademy2 жыл бұрын
you just pass needed params in actions. We make such things in my full course with NgRx monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
@oBezBasKa2 жыл бұрын
@@MonsterlessonsAcademy yes, i found, thx
@priyamganguly Жыл бұрын
I followed the course all throughout and wrote the codes exactly as shown here. But there's no output on the browser. Also, in the Redux tool of the browser dev tools, I don't see any state changes. It always remains null and empty. Surprisingly, there's no possible error in my code as it gets compiled successfully every time. So what am I doing wrong? Any suggestions, please?
@MonsterlessonsAcademy Жыл бұрын
You can download the source code of the video and check if it works there.
@ronniea7x2 жыл бұрын
awesome tutorial :D you are the best
@MonsterlessonsAcademy2 жыл бұрын
Thanks! 😃
@maxympishchuk82422 жыл бұрын
Can you please tell which environment and font do you use in that video? Btw the tutorial was great)
@MonsterlessonsAcademy2 жыл бұрын
It's macos, alacritty with monaco font.
@andrewparker76032 жыл бұрын
This is great!
@MonsterlessonsAcademy2 жыл бұрын
Thank you!
@hamza2011832 жыл бұрын
Hi Oleksandr, why didn't you start to promote your new Angular course yet? :)
@MonsterlessonsAcademy2 жыл бұрын
I will release the announcement next Tuesday :)
@hamza2011832 жыл бұрын
@@MonsterlessonsAcademy Well I didn't wait for the announcement... :D
@MonsterlessonsAcademy2 жыл бұрын
@@hamza201183 I'm happy to hear that! I put 5 months effort in the course.
@maximl48512 жыл бұрын
How can I check my errorSelector, I mean how to change http status and replace response body
@MonsterlessonsAcademy2 жыл бұрын
You need to change it on backend or write tests.
@vadymhres82952 жыл бұрын
nice, thank you so much !
@MonsterlessonsAcademy2 жыл бұрын
You are welcome!
@ՍերինեԲաղդասարյան2 ай бұрын
The Best
@MonsterlessonsAcademy2 ай бұрын
Thanks!
@wealthiduwe28172 жыл бұрын
Thanks so much!!!
@MonsterlessonsAcademy2 жыл бұрын
You're welcome!
@michelchaghoury96292 жыл бұрын
please we need mini projects with angular, ngrx, reactive api calls (CRUD) and thank you
@MonsterlessonsAcademy2 жыл бұрын
I have a full 12 hours Angular course which covers all this in depth and teaches you on the real project monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
@daviddonovan4252 жыл бұрын
Posts is a confusing name for a component... Maybe Articles? Anyway... Very informative!
@MonsterlessonsAcademy2 жыл бұрын
Thank you
@sourabhpandit67246 ай бұрын
simple awesome
@MonsterlessonsAcademy6 ай бұрын
Thanks a lot!
@avalanche3222 жыл бұрын
Cool!
@MonsterlessonsAcademy2 жыл бұрын
Thanks
@eagold2 жыл бұрын
where is animations video?
@MonsterlessonsAcademy2 жыл бұрын
Here kzbin.info/www/bejne/bnPEpYiHjtmAors
@YusupOzdoyev8 ай бұрын
thank's!!!
@MonsterlessonsAcademy8 ай бұрын
You're welcome!
@xxfaironxx Жыл бұрын
10/10
@MonsterlessonsAcademy Жыл бұрын
Thanks!
@expertreviews1112 Жыл бұрын
That was overwhelming tbh
@MonsterlessonsAcademy Жыл бұрын
I feel your pain
@johnparungao1354 Жыл бұрын
Damn, coming from Vuex state management, this sht is confusing to understand
@MonsterlessonsAcademy Жыл бұрын
Life is pain
@sdsd-ec8rw Жыл бұрын
couldn't watch the video. large font, no tabs so it's not clear which file is open and edited at the moment. Sorry but this is dislike
@yusufs_solos11 ай бұрын
Bro next time use VSC we can't understand what you doing
@MonsterlessonsAcademy11 ай бұрын
Ok next time
@RayZde Жыл бұрын
That's very complicated.
@MonsterlessonsAcademy Жыл бұрын
Life is pain
@andreip.832110 ай бұрын
That's a pretty nice explanation of NgRx, but I've always wondered... are you part of a cult or something that doesn't allow you to use IDEs, like ANY NORMAL DEV out there? Just asking, because it's pretty annoying watching these tutorials using...whatever tool you're using. Just saying... it's 2024. Other than this, great tutorials, but again, it's painful to watch using whatever useless editor you're using.
@venc019 ай бұрын
Great, now I hate Angular even more.
@MonsterlessonsAcademy9 ай бұрын
Money fixes this problem
@MrgnUTube5 ай бұрын
NOPE.
@domjanzsoo2 жыл бұрын
Trying something similar but instead of a boolean posts.isLoading I have a string dashboard.title state property. For some reason this method this.title$ = this.store.pipe(select(titleSelector)); gives me an object. It looks like it just stays as an Observable object, because it never gets the title value from the selector. Any idea what can be wrong?
@MonsterlessonsAcademy2 жыл бұрын
Check your state in redux devtools. if it is correct the problem is in selector.
@karthicks859 Жыл бұрын
To be honest It's hard to remember+implement all these stuff while working.Learning curve is hard for anyone! THIS technology surely diminish
@MonsterlessonsAcademy Жыл бұрын
I agree but still it is the most popular state solution.