4,645 questions
0
votes
0
answers
98
views
NgRx SignalStore: Orchestrating multi-store dependencies (parallel fetching) without coupling?
I am building a large-scale enterprise Angular application using NgRx SignalStore. I strictly separate my modules (e.g., UserModule, RoleModule), where each module has its own Store and Service. Also ...
Best practices
1
vote
0
replies
107
views
NgRx Signal Store Architecture
I have some questions about ngrx signal store.
How can you let two different stores talk to each other?
Is there something similar to working with slices like in the ngrx store?
Are the new events ...
2
votes
1
answer
204
views
NG0201: No provider found for `InjectionToken @ngrx/store Root Store Provider`
I have a basic setup of NgRX to learn the flow.
Now it gets to use the NgRX Effects, and my implementations throw error, Please review and let me know what may missed?
"dependencies": {
...
0
votes
1
answer
132
views
NG8: Type 'Signal<User[]>' must have a '[Symbol.iterator]()' method that returns an iterator
I am stuck with above error. [NG8: Type 'Signal<User[]>' must have a '[Symbol.iterator]()' method that returns an iterator.] I am using ngrx/signal-store for data management with my angular app. ...
0
votes
2
answers
165
views
NgRx signal store throws error "Type 'Signal<User[]>' is not assignable to type 'User[]'"
Interface:
export interface User {
userId: number;
userName: string;
emailId: string;
role: string;
}
export interface UserState {
users: User[];
_users: User[];
}
export const ...
1
vote
2
answers
267
views
Angular 20 Reactive Forms - Custom validator based on signal
Here's the StackBlitz showing the problem.
I have a reactive form with an Email field and Send Verification Code button. When the code is sent, the Verification Code field appears, so the user can ...
0
votes
1
answer
152
views
Angular 20 zoneless test - providing FakeService does not work
I have an Angular 20 app - here's the repo. And I have a "Sign Up" form, which in this test repo consists only of an Email field and the "Send verification code" button. When a ...
0
votes
0
answers
49
views
What kind of persistence should I expect for values saved in NgRx store for an Angular application
After reading the documentation for ngRx what I understood was that NgRx stores data at application level. When I run the application and click a button on my AppComponent, the product gets added to ...
0
votes
1
answer
147
views
NgRx computed not Update Value when used in NgRx Store
I have a computed in my signal store, which should react on a value change but it just fires 1 time at creating and not when signal values are changing
const initialData = {
gridItems: [] as ...
2
votes
1
answer
443
views
Angular resource API: Why does loader stay in error state after params change?
We would like to try out the new resource API in Angular in combination with the new ngrx/signal-store. In production, we currently use httpResource to retrieve data from the backend. When an error is ...
1
vote
1
answer
189
views
NgRx SignalStore: How to seed initial state using withEntities?
I am using NgRx Signal Store and the withEntities feature. By default, this creates an empty collection of items in my store, but I would like to initialize my store with an array of items instead. ...
0
votes
1
answer
246
views
Angular standalone components library and NGRX slices
I'm migrating an application to standalone components using the following:
ng generate @angular/core:standalone
I've already migrated every component to standalone. I now need to remove unnecesary ...
0
votes
0
answers
97
views
Is SignalStore overkill for just surfacing loading and error state
I have application use cases that sit very comfortably in SignalStore e.g. Load and Display an Employee and then allow edits to that employeee. In this model my store exposes my employee and provides ...
1
vote
1
answer
58
views
Post Payload issue when using NGRX-Hateoas (angular) and Spring Hateoas (HAL)
Currently We have a Spring Hateoas (HAL) implementation in the backend and manually handle the communication with our angular client which is working fine.
I started to look for libs (seems like no ...
-1
votes
1
answer
87
views
Cannot read properties of undefined (reading 'product') while trying to add items to cart using NGRX in Angular 18-
I am trying to understand implementation of ngRX in Angular18. Trying to build a shopping-cart flow. There's an 'Add To Cart' button with each gadget listed upon clicking which the gadget SHOULD get ...