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

Комментарии • 28

  • @nazarpashayev
    @nazarpashayev 6 месяцев назад

    best NgRx course on internet

  • @markusarbeiter8295
    @markusarbeiter8295 2 года назад +1

    Thank you! Very helpfull, was searching a long time for a good explanation to effects

  • @abhinavs2484
    @abhinavs2484 2 года назад

    Best explanation on RUclips so far!

    • @abhinavs2484
      @abhinavs2484 2 года назад

      Thanks for all the videos Leela!! Keep up the good work!!

  • @kfizzle3920
    @kfizzle3920 3 года назад

    Wow this is awesome and exactly what i needed

  • @andrewkhar4615
    @andrewkhar4615 2 года назад

    Thanx, bro . You are very helped for me!

  • @Niranjanwad
    @Niranjanwad 2 года назад

    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

  • @ineskoelbl7351
    @ineskoelbl7351 2 года назад

    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?

  • @cutebaby8689
    @cutebaby8689 10 месяцев назад

    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 ?

  • @yashwanthsai2460
    @yashwanthsai2460 3 года назад

    Hi Leela..could you please give clairty on why we are using exhaustmap,merge map in effects ?

    • @LeelaWebDev
      @LeelaWebDev  3 года назад

      Sure.. Mean time you can check the videos in RxJS course about mergemap, concatmap, switchmap and the exhaustmap

  • @murtazamohammadi9370
    @murtazamohammadi9370 2 года назад

    Do you have any tutorial about getting the data from indexeddb and async them with api database?

    • @LeelaWebDev
      @LeelaWebDev  2 года назад +1

      No

    • @murtazamohammadi9370
      @murtazamohammadi9370 2 года назад

      @@LeelaWebDev thanks for your reply and thanks for sharing, your tutorial helped me a lot. Thanks in advance !

  • @saisai-uf9ef
    @saisai-uf9ef 2 года назад

    Hi does anyone getting this error while using rxjs operators in the effects
    ERROR TypeError: Cannot read properties of undefined (reading 'lift')

  • @amarnath602
    @amarnath602 3 года назад

    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

    • @amarnath602
      @amarnath602 3 года назад

      Somehow I changed the naming conventions in the Effects and in the reducer, then its started showing the data :)

  • @rajanmehta1570
    @rajanmehta1570 3 года назад

    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

    • @LeelaWebDev
      @LeelaWebDev  3 года назад +1

      You can get the data and can show right directly in the mat table

    • @rajanmehta1570
      @rajanmehta1570 3 года назад +1

      @@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

  • @arunbharathi1538
    @arunbharathi1538 3 года назад

    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?

    • @LeelaWebDev
      @LeelaWebDev  3 года назад

      From service i think may be your are not subscribing to observable

    • @arunbharathi1538
      @arunbharathi1538 3 года назад

      @@LeelaWebDev Yup. I directly tried to log the observable without subscribing. Thanks

  • @daniellampard6084
    @daniellampard6084 2 года назад

    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 :)

  • @AviatorBro
    @AviatorBro 2 года назад

    done - 14 April

  • @ananthakumarr537
    @ananthakumarr537 2 года назад

    I have error while load post
    Type void is not assignable to type observable
    this.users=this.store.dispatch(loadpost().)