Skip to main content

All Questions

0 votes
2 answers
1k views

ngrx-store-localstorage with angular 17 standalone component

I'm using ngrx-store-localstorage to persist my store in localstorage in an angular 17 project, using the new standalone method. this is how i configure my meta reducer: export function ...
mohamed souilmi's user avatar
0 votes
2 answers
318 views

NgRx does not trigger selector after state change

I am setting up NgRx in an Angular 16 project using Standalone components. I'm going crazy trying to have a piece of state automatically update the component after an API call is made. I have defined ...
OstrichGlue's user avatar
0 votes
1 answer
2k views

How to configure multiple reducers in angular 17 standalone components where ngModule is not present?

I started using angular standalone components and use NgRx state management. I'm trying to set up two slices of the state login and admin login. I created two separate reducers for each. Now, when I'm ...
Nafeesath Musfira Badriya's user avatar
0 votes
1 answer
125 views

NgRx State Reset to Null After Successful Authentication Action and Component Refresh

After a successful authentication action, the NgRx state is correctly updated with the authenticated user. However, upon refreshing the component or navigating, the data in the state appears to be ...
christopher's user avatar
0 votes
2 answers
843 views

Difference between directly providing ComponentStore and using provideComponentStore in Angular Standalone Components

I'm working with standalone Angular components and experimenting with the NgRx Component Store. I'm facing confusion regarding the correct way to inject the component store into a component. Here's ...
Tabea's user avatar
  • 83