35. Get Posts Data from backend HTTP API call using Posts Effects in Ngrx Angular Application.
HTML-код
- Опубликовано: 5 окт 2024
- Hi Friends
In this video we will see how to get the posts data from the backend http api call using the posts effects file in Ngrx Angular Application.
The code is deployed in my Github account.
github.com/lee...
If you like my video, please subscribe to my channel.
RUclips Page: / leelawebdev
Twitter Page: / leelanarsimha
Linkedin: / leela-narasimha-reddy-...
GitHub: github.com/lee...
#Angular #ngrx #leelawebdev
best NgRx course on internet
Thank you! Very helpfull, was searching a long time for a good explanation to effects
Best explanation on RUclips so far!
Thanks for all the videos Leela!! Keep up the good work!!
Wow this is awesome and exactly what i needed
Thanx, bro . You are very helped for me!
I have been learning a lot through your videos. Thanks . I have a question here. What if i want to update multiple records in one single request. How can i do it using the redux pattern
I really like your toturial, thank for explaining! But how can I reference the returned posts in the effects function to display the posts in html?
In my office project when I instal ngrx and when I specially import effects in app module, I am getting error : "NullInjectorError: NullInjectorError: No provider for Store!" can you help on this ?
Hi Leela..could you please give clairty on why we are using exhaustmap,merge map in effects ?
Sure.. Mean time you can check the videos in RxJS course about mergemap, concatmap, switchmap and the exhaustmap
Do you have any tutorial about getting the data from indexeddb and async them with api database?
No
@@LeelaWebDev thanks for your reply and thanks for sharing, your tutorial helped me a lot. Thanks in advance !
Hi does anyone getting this error while using rxjs operators in the effects
ERROR TypeError: Cannot read properties of undefined (reading 'lift')
Hello Leela,
Thanks for the video.
When I try to get the JSON data, Currently it has only one data that is fine
In-network tab I can see posts.json retrieve and got data, but in the state loadPosts action I'm getting the values are empty
I'm assuming the problem with effects, but not sure and in-state if I set to posts: null I'm getting more errors
Can you help me resolve this
Thanks
Somehow I changed the naming conventions in the Effects and in the reducer, then its started showing the data :)
Hello,
I'm using angular 8 material how to display fetched JSON data using ngrx in the material table can you help me with what could be written in user.component.html and user.component.ts file please bro help me. I'm using the same what u were showing in the tutorial
You can get the data and can show right directly in the mat table
@@LeelaWebDev I request you if possible to make a small tutorial using ngrx showing data in the material table. Also, tried out to get the data but unable to show the data
Hi leela, when i tried to call api call to firebase through service from ngOnit it doesn't work. but if i dispatch the action its working why? is there any reasons for that?
From service i think may be your are not subscribing to observable
@@LeelaWebDev Yup. I directly tried to log the observable without subscribing. Thanks
Hey thanks for the tutorials. In the future please talk slower, its very hard to keep up when your words blur together and so do your sentences :)
Yeah sure. I will improve
done - 14 April
yeah
I have error while load post
Type void is not assignable to type observable
this.users=this.store.dispatch(loadpost().)