Category "state-management"

Preserve state and prevent initState of been called more than once

I have 3 page (all statefull widgets) : Home page Weather page Setting page The things is when i'm going from home page to weather page with a "Navigator.pushNa

NGXS global state's slices emit on every navigation

After tracking down unexpected requests being made I've found that my app's global user state's slices emit upon every navigation. What are potential causes of

Is it allowed to add event to another bloc from inside of a bloc?

I am using bloc library available in Dart to implement "bloc" pattern. I will eventually move onto flutter_bloc library so I can use it inside a real app. I'm h

Using react-router with recoil

I have 'react-router-dom' and 'recoil' in same application. What is a proper way to update recoil state within route? const ItemRouter = ()=> { const [s

Interaction jetpack compose with bluetooth library

how to use Android Bluetooth api in jetpack compose ? compose need state and Bluetooth api has not compostable function .i mean how to instance state for Blueto

Scoping Lifecycle of ChangeNotifier to just a specific number of screens

I have a ChangeNotifier Subclass that I am sharing between a number of screens like this: final value = MyChangeNotifier(); MaterialApp( routes: { '/list

GetX flutter state is not being updated

I am new to flutter. I just started using GetX flutter package. I am working on a ToDo list app. I am having trouble updating the widget state. What I have done

Returning Promises from Vuex actions

I recently started migrating things from jQ to a more structured framework being VueJS, and I love it! Conceptually, Vuex has been a bit of a paradigm shift fo

NGXS: Update deep level nested array state

So I have the following state: [ { name: "Main Tree", branches: [ { name: "Branch 1", branches: [] },

Flutter with Sqflite + Getx data update issues

I am currently using GetX and Sqflite within Flutter and encountering the issue of data update after insert. Firstly, there is a LoadingScreen which checks if t