Skip to main content

Questions tagged [state]

The contents of memory locations, at any given point in the program's execution, is called the program's state.

3,054 questions with no upvoted or accepted answers
9 votes
2 answers
9k views

Jstree state plugin not saving tree state

Adding the state plugin in Jstree is still not saving the state of the tree between page refresh or after clicking link and going back to previous page $('#myGrid').jstree({ "types": { "...
Amda's user avatar
  • 91
8 votes
1 answer
725 views

FocusState Textfield not working within toolbar ToolbarItem

Let me explain, I have a parent view with a SearchBarView, im passing down a focus state binding like this . SearchBarView(searchText:$object.searchQuery, searching: $object.searching, focused: ...
lorenzo gonzalez's user avatar
7 votes
2 answers
3k views

ionicView.enter not fired on child view and its controller

I have two nested states, consisted of a parent abstract state and a child state: .state('app.heatingControllerDetails', { url: "/clients/:clientId/heatingControllers/:...
Gregor Srdic's user avatar
7 votes
1 answer
2k views

os x process state UE

I've got process running that can't be killed. It's my EyeTV App and here is what 'ps aux' says: cb0 87583 1,0 3,4 812796 144236 ?? UE 21Nov09 2638:11.45 [.....]/EyeTV The process ...
cb0's user avatar
  • 8,555
6 votes
1 answer
125 views

Solutions for constant global states in Rust

Currently I am developing a Rust program that should run multiple audio processing nodes on microcontrollers. Therefore I discovered that the processing is much faster, when I do for loops over ...
neodsp's user avatar
  • 31
6 votes
0 answers
349 views

I need a MutableStateMap capable of retaining order such as LinkedHashMap

A SnapshotStateMap is great for working with key-value pairs in Compose as it allows you to track changes to said pairs without reassigning the entire map. However, State mostly being used to affect ...
quealegriamasalegre's user avatar
6 votes
1 answer
2k views

Multiplayer game architecture in node.js - State management and synchronization with Redux

I'm implementing an online TCG game (think Hearthstone/Magic) as a pet project and I've decided to go React/Redux for the client UI. This led me to think about the possibility of using Redux on the ...
Thiatt's user avatar
  • 574
6 votes
1 answer
513 views

Android: Save XWalkView - Crosswalk state

I am using XWalkView to show a mobile web site as an application. My problem is when application goes background and comes back it reloads the page it shows. I want to keep it state and continue from ...
Olcay Ertaş's user avatar
  • 6,142
6 votes
3 answers
3k views

Android forcing full restart after an app is killed

Hello My application works like this. StartUpActivity is called first, which does a lot of the init stuff Then it launches TvbTabActivity (TabActivity) that has other Activities as its tabs (e.g. ...
Saideira's user avatar
  • 2,384
5 votes
0 answers
1k views

React, Mapbox, Deck.GL Scatterplot Layer: Data Not Updating

I am trying to create a React app that uses deck.gl on a Mapbox map, and I am having trouble updating the "data" prop within a deck.gl Scatterplot layer. I left out some code where I am ...
Julian Durantini's user avatar
5 votes
2 answers
5k views

GetAuthenticationStateAsync in custom AuthenticationProvider not firing - Blazor Client

I am having trouble with my token expiry. The token expires on the server side but on client side it shows expired only when I hit F5. App.razor code <CascadingAuthenticationState> <...
mehtav's user avatar
  • 51
5 votes
0 answers
422 views

Angular state management with multiple instance of same component

I am designing my first app using Angular and was reading on state management when the following scenario came to my mind, for which, I couldn't find an answer I have a component A that can change ...
Subbu's user avatar
  • 608
5 votes
0 answers
4k views

React-Native TextInput prevent default on controlled input

So I use my state to control a text input, but when I input a character, I don't want the character to show up right away. This is what is happening: 1. I focus on text input 2. I type in a character....
Jordan Harris's user avatar
5 votes
0 answers
701 views

Why is my "AppLifecycleState" "resumed" twice?

I am using call_number plugin to make a call from my app. I am tracking the AppLifecycleState to take actions. This is the order in which states are changing- AppLifecycleState.inactive ...
Keerti Purswani's user avatar
5 votes
0 answers
4k views

componentWillReceiveProps this.props and nextProps always the same

I have a parent component ProductTest that holds state as the source of truth. The state is an array of variant items. Each item is simplified for this example and has a title. When a Variant's ...
Gurnzbot's user avatar
  • 3,962

15 30 50 per page
1
2 3 4 5
204