Skip to main content

All Questions

Tagged with
1 vote
1 answer
38 views

Type 'Signal<boolean>' is not assignable to type 'Signal<unknown>'

I am working on an app which is using a pretty simple signal store. It worked the last days but suddenly today I got the following error: Type 'Signal<boolean>' is not assignable to type 'Signal&...
Max's user avatar
  • 1,258
2 votes
1 answer
52 views

Problem with patchValue and async signals in Angular when user refreshes the page

I'm working with Angular's new Signals feature to manage reactive state in a form. Everything works fine in most cases. However, there's one issue I'm running into: When a user refreshes the page ...
Zed's user avatar
  • 65
1 vote
0 answers
89 views

Auto login with firebase authentication

I'm looking for a great solution for firebase authentication. I use angular with ngrx and firebase. I made authentication with these technologies but when I tried to implement auto login, it actually ...
Kuba Goch's user avatar
4 votes
1 answer
96 views

Filtering through 10k objects is slow, but when I return a copy of the array, it's fast, why is that?

I've found a weird occurrence, when working with Ngrx Store and Angular. Basically the goal of my task is shown in this example with about 10k entries in the Person[]: My goal is to show certain ...
DaccoTheTaco's user avatar
1 vote
1 answer
63 views

Angular 19 with NgRx: NullInjectorError: No provider for _StoreRootModule and CSP violations

I am building a login app using Angular 19 with NgRx for state management. I want to store the authentication state using NgRx. My app is set up with standalone components and uses ApplicationConfig ...
Jaime Simeon Palomar's user avatar
2 votes
1 answer
85 views

Angular - Ngrx signal store

I'm trying out Ngrx signal store. I watched couple of tutorials and read official documentation. Videos on youtube are pretty simple and docs didn't cover that. I'm trying to use withHooks onInit ...
Freezy's user avatar
  • 151
0 votes
1 answer
53 views

How to trigger a method in one NgRx Signal Store when a property in another store updates?

I am working with NgRx Signal Store in an Angular project, and I need to make one store DashboardStore reactively call a method when a property in another store FilterSelectionStore updates. Use Case: ...
RAHUL KUNDU's user avatar
1 vote
1 answer
40 views

Successfully deleted a record but the response triggers an NgRx Action Failure

I'm working on an Angular application using NgRx to manage state. I have an action that deletes a record through an API call. The deletion is successful (the record is removed), but the NgRx effect ...
Giaggipc's user avatar
2 votes
1 answer
86 views

Angular signalStore and HttpResource

const apiUrl = environment.apiUrl; export const PublisherStore = signalStore( withState(initialState), withComputed(({fetchStatus, saveFetchStatus}) => ({ fetchPending: computed(() => ...
Kino1D's user avatar
  • 21
0 votes
1 answer
54 views

In NGRX Signal Store, how can I call a method in a computed value?

In my store feature, if I define a method in the withMethods, then in the later defined withComputed, I can't seem to call one of these methods from a computed value. Is this supported?
Ethan SK's user avatar
  • 896
1 vote
0 answers
42 views

Signal Store State Persistence Issue After Routing

Angular Signal Store state resets to initial values when navigating between components, despite being provided in 'root'. I'm using patchState to update the store. Why isn't the state persisting ...
Rebai Ahmed's user avatar
  • 1,620
1 vote
1 answer
19 views

CreateComponent in async ngFor

I try to implement a tabs bar using infragistics and ngrx. In my app.component.html : <igx-tab-item *ngFor="let tab of tabs$ | async" (selectedChange)="selectTab(tab)"> &...
DarkCid's user avatar
  • 237
0 votes
0 answers
40 views

NGXS with SSR leaks user data between other users

Im using NGXS for state store in angular. While testing I had firefox logged in and launched chrome in private window. When I navigated, I saw that the ssr was flashing the other user's information ...
kewur's user avatar
  • 491
0 votes
1 answer
68 views

SignalStore onDestroy hook not fired

I am encountering an issue that I am not quite sure why or how to fix. I have a signal store and I am using the onDestroy hook in order to ensure that we clear out any state data from the store. The ...
SomeStudent's user avatar
  • 3,048
2 votes
2 answers
174 views

NgRx signalStore with generic methods

I'm using Angular 19 with Ngrx. I have multiple store with the same methods to handle the CRUD operations. I would like than withMethods use an interface to set this store generic. I tried to pass an ...
Darion Badlydone's user avatar

15 30 50 per page
1
2 3 4 5
263