Use NgRx with Standalone Components in Angular 15

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 15

  • @vuarnet0318
    @vuarnet0318 Рік тому

    awesome! thanks for your sharing.

  • @karthikeyan878
    @karthikeyan878 Рік тому

    waiting for this topic !! Thank you .
    Share a video about how persist state when browser gets refreshed in NGRX

  • @costagmc1
    @costagmc1 Рік тому

    I was waiting for. Thanks dear

  • @viralmoney8619
    @viralmoney8619 Рік тому +1

    Ia it possible to work with redux toolkit in ngrx?

  • @ahmedaouiche
    @ahmedaouiche Рік тому

    Thank youu !
    Waiting for NGXS playlist hope it will be soon 😊

    • @FunOfHeuristic
      @FunOfHeuristic  Рік тому +1

      It's already out, please check the description

    • @ahmedaouiche
      @ahmedaouiche Рік тому

      @@FunOfHeuristic NGXS playlist ? I have seen NGRX only

    • @FunOfHeuristic
      @FunOfHeuristic  Рік тому +2

      Sorry I didn't read it properly, my bad, ya NGXS will come soon

    • @viralmoney8619
      @viralmoney8619 Рік тому

      Playlist means somehow large app and covering everything advanced topics

  • @zobidafly
    @zobidafly Рік тому

    is there a reason why you don't use ngrx/schematics? I don't see the whole video content because you've shown code about user.reducer & user.action without showing how to create those files using ng command...

    • @FunOfHeuristic
      @FunOfHeuristic  Рік тому

      Yes you can use schematic, the main purpose of the video to show how standalone component will work with NgRx.

  •  Рік тому

    thanks

  • @vaishnavimhamane3509
    @vaishnavimhamane3509 8 місяців тому

    1. ngrx/store: The feature name "data" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using Storemodule.forRoot('data',...) or Storemodule, forfeature("data",...). If the default state is intended to as is the case with router state, this development-only warning message can be ignored.
    Angular is running in development mode.
    2.ERROR TypeError: Cannot read properties of undefined (reading 'data') at users.selectors.ts:8:29
    at ogrx-store.mis:900:24
    home.compone
    at nemoized (perx-store.mis:776:33) at defaultStaten (ngrx-store.mis: 804:39)
    at Derx-store.mix:903:30
    at memoized (Darx-store.mis:776:33) at nerx-store mis: 683:44
    at OperatorSubscriber2. this. next (Operator Subscriber.is:15:21)
    at Subscriber2.next (Subscriber.is:34:18 please help me I am getting this error

  • @vaishnavimhamane3509
    @vaishnavimhamane3509 8 місяців тому

    Pls help me in this please 🥺1. ngrx/store: The feature name "data" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using Storemodule.forRoot('data',...) or Storemodule, forfeature("data",...). If the default state is intended to as is the case with router state, this development-only warning message can be ignored.
    Angular is running in development mode.
    2.ERROR TypeError: Cannot read properties of undefined (reading 'data') at users.selectors.ts:8:29
    at ogrx-store.mis:900:24
    home.compone
    at nemoized (perx-store.mis:776:33) at defaultStaten (ngrx-store.mis: 804:39)
    at Derx-store.mix:903:30
    at memoized (Darx-store.mis:776:33) at nerx-store mis: 683:44
    at OperatorSubscriber2. this. next (Operator Subscriber.is:15:21)
    at Subscriber2.next (Subscriber.is:34:18