I have a form with two sections, that dispatch two post request actions, the second request needs parameters from the first one to be successfully sent. But I'm not sure how :( I have the request and ...

Am using NWRL NX and one of the libraries is using NXGS (3.6.2) as a shared state library for the apps.
When running an application I am getting the warning export 'StateContext' was not found in '@...

What is the difference between snapshot and selectsnapshot in Ngxs Store?
I know how to use the snapshot, it gets the current state value.
this.oriFormData = this.store.snapshot();
So when reset, I ...

I have been stuck on this issue, which I do not now how to resolve or find a solution for.
I have an angular service which I use to get a day entry from a shopping list from my NGXS store.
However, ...

eranshmil commented on this issue, and provided solution for breaking circular dependecy by using string overload for selectSnapshot.
But I can't seem to make it work properly, here's stackblitz
It ...

Brief history of the question:
I'am developing web assistant for party game Mafia, so the goal is to store single game in NGXS. Here's gitlab repo
Game contains:
List of players
List of passed days(...

There must be a standard way to solve this, but I haven't found anything yet. I am probably not phrasing my search correctly.
I have a search input field and as is good practice, I use the switchmap ...

Has anybody ever used ngxs within an Angular library (https://next.angular.io/guide/creating-libraries)?
Any thoughts about this?
We are developing a library that needs "local" state management. The ...

I am trying to aggregate/tabulate the results of a set of observables. I have an array of observables that each return a number and I want to total up those results and emit that as the value. Each ...

You know how they say you don't need state management until you know you need it. Well turns out my project needs it. So I need some help wit best practice as I am adding ngxs to an existing angular ...

I need to handle some pretty simple logic inside of my state and am having a really hard time piecing together what needs to be done and at the moment I can't figure out how to store the results of an ...

NGXS is used for state management. There are many states that could be implemented as maps to write cleaner code and to improve performance. Currently there is a workaround where the keys are stored ...

How to cancel a running store.dispatch(xxx) action, so that the underlying http requests are canceled as well?
I tried to .unsubscribe() from a store.dispatch(new FetchSomeStuffOverHttp()) call and ...

The problem.
When I invalidate refresh token on the server, and comes the refresh token request, I receive the following warning:
You provided 'undefined' where a stream was expected. You can provide ...

I have a problem with using models in ngxs.
I have to use different model for passing data to api and getting data from the api
I have a Report model and NetIncome model basically. How will i able to ...

I've been studying into NGXS for the past 2 days and am having a hard time understanding exactly what's happening in examples like this
//snippet from the actions chapter
export class FeedAnimals {
...

I am calling the my service method to fetch records and updating the state (ngsx) with boolean value if record exists. If record exists i am setting the agreementExists value in the state to true else ...

UPDATE: (updates comes at the top)
As I am using NGXS, I've remade my service/state using the next approach:
In the class, that was calling the service - the service is no longer called. Instead, it ...

I have an NgXs state which holds a "selectedDate". I tried several methods of selecting and subscribing to that field, some work fine, but some only get triggered on the first change and after that no ...

Well, as an old-school coder, we are done to some recipes actually successful with daily issues. One of them is the creation of a "master record" (if it doesn't exist) and save it to the API before ...