Angular NgRx Course - 05 NgRx Store-Devtools & Action Types

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

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

  • @ibknl1986
    @ibknl1986 5 лет назад

    Nice explanation and tutorial :)

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

    How to make reusable component in angular ? Kindly make video bro.... thanks advance . Videos simply super

  • @gaddahan8061
    @gaddahan8061 4 года назад +4

    Does anyone gets an error in file customer.actions.ts as following - Import declaration conflicts with local declaration of 'Action'.ts(2440)?

    • @Jadestonk
      @Jadestonk 4 года назад

      yes it's because it's colliding with the Action interface imported from @ngrx/store at the top of the file.

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

      Yes, just use this line instead export type CustomerAction = LoadCustomers | LoadCustomersSuccess | LoadCustomersFailure;

  • @MrKsuhiyp
    @MrKsuhiyp 4 года назад

    Doens't declaring Action type conflict with imported Action cons from ngrx/store?

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

    what to write in customer.model.ts?

  • @etham1655
    @etham1655 6 лет назад

    Because LoadCustomers doesn't have a payload the reducer class can't use the property payload from the Action type.

  • @SagiruddinMondal
    @SagiruddinMondal 5 лет назад

    Please help me with the action in the previous video. I did not find it!

  • @valikonen
    @valikonen 4 года назад +3

    Classic for Angular, make everything much more ugly....