Questions tagged [state-management]
1074 questions
-1
votes
1 answer
flutter save page state after routing
how can i save page state after routing, when routing and going back to the concern page it has the initial state when starting the app, every modification on the page (setState) is gone. how to solve it and thanks.

Wassef Hassine
- 282
- 7
- 26
-1
votes
1 answer
Riverpod does not maintain state after reload in Flutter Web
I was trying to add pagination to a web app using Riverpod but it seems that doesn't maintain state after reloading the page. Then I tried with the official counter app example, and after increasing the count and reloading the count does reset to…

chessasuke
- 17
- 1
- 6
-1
votes
1 answer
How to change bloc state data after a request without sending the request again?
i'm new to flutter and i'm having some trouble with data managment using bloc. I`m building an app that make a request(get_things) using bloc and recieve as response a list of objects( example: {"things": [{"id": 1, "color" : "green"},{"id":2 ,…

Iván Ezequiel Vargas
- 23
- 6
-1
votes
2 answers
Right way to use State management with NGXS in angular
I am a BE dev and now I'm learning Angular 6. I'm really interested in State management using NGXS. I have several concerns with an example below:
I have an endpoint which return a set, about 16-20k records, of Accounts. This endpoint will be called…

Trung Bún
- 1,117
- 5
- 22
- 47
-1
votes
1 answer
unable to manage state using redux in react native project
I'm new to react native development. And I have created this sample note application using Redux for react native. In this application user must be able to add a note and that note needs to be managed via redux store.
And I have created required…

vihaga yohan94
- 99
- 3
- 9
-1
votes
1 answer
conditional input box rendering
i am new in react js. i have one drop down in react js and there is two options 1. Company 2. Individual`
-1
votes
1 answer
How to pass Child Component state to Store without interacting with parent component using Ngxs-store?
I want to pass a child component state to Store without interacting with a parent component in NGXS-Store?
previous I have pass child state to parent using EventEmmiter, Inside parent component Html take and then parent component pass child…
-1
votes
1 answer
State management in a generic flutter app that is built at runtime
first of all: I'm new to stackoverflow and to Flutter/declarative frameworks, so if I just missed searching for the right tags, please excuse me.
Short
How can I acheive a decent state management for a fully generic app which is built out of basic…

JulH
- 1
- 1
-1
votes
2 answers
How to pass data from a VueJS component to main.js?
Is it possible to send data defined in a component in the data() method to the main.js file (or where the Vue instance is defined)? I thought I could use vueX to do the following but have no idea as how to approach it even after understanding…

Rohan Kapur
- 139
- 4
- 13
-1
votes
3 answers
How to use the router state in an Angular application with ngrx implementation
I know it is possible to store in a state the routing using the @ngrx/router-store.
This library bind the Angular router with the ngrx-store.
Following the redux principles, it has sense to store the routing because it is a state change of the…

g3k0
- 157
- 3
- 17
-1
votes
2 answers
Save variable value while navigation in MVC
I am having one page ABC.cshtml. In the page I have written code for multiple modal popup with "Back" and "Next" buttons. when I click on buttons it navigates from one modal to another.
I am having "Id" which I need to persist when I navigate from…

user2148124
- 940
- 1
- 7
- 20
-1
votes
2 answers
Alternative to session in ASP.NET
I have 2 page in project, let say 'UserGrid' and 'User Details'.
'UserGrid' show a list of users. On clicking the ID column of the row, partner get redirected to 'User Details' page, which show details of user.
While partner click on ID, I store the…

user1926138
- 1,464
- 7
- 34
- 53
-1
votes
1 answer
session in class file
Hi I have a list called Event Source. In that am adding new item. Once i added , the background process takes this newly created id and start importing EventFields in the Specific List.In EventSource list item i have an ECB menu item called Sync and…

user2518802
- 21
- 1
- 7
-2
votes
1 answer
What are the benefits of using redux over a series of global json objects for data storage?
After working with/tutoring redux for a few years I have a question about redux.
Why use redux over storing global state in a series of JSON objects?
You could make rest calls and easily store key values pairs in the global state object.
There is a…

Drew Gallagher
- 442
- 1
- 12
-2
votes
5 answers
GetX unhandled Exception: setState() or markNeedsBuild() called during build - When going to a screen
I am using GetX.
When I go from EventScreen to HomeScreen -> Everything works...then going back to EventScreen and back to HomeScreen(using Drawer menu from left)...the second time I go back to the HomeScreen this error occurs:
[GETX] Instance…

skm
- 559
- 1
- 6
- 22