Retool Forum
Setting/getting temporary state is asynchronous?
💬 App Building
bradlymathews
September 30, 2021, 4:19am
2
@aviator22
This is normal behavior. See this post:
When to use Temporary State vs. local variables
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Setting temporary state is one update behind with multiple events
💬 App Building
6
1499
July 27, 2023
"Keep variable references inside the query in sync with your app" query option questions
💬 Queries and Resources
14
3069
August 2, 2023
How to use temporary state setValue() when you need the value immediately? Awaiting does nothing
💬 Queries and Resources
javascript
10
5234
November 13, 2023
Setting the value of state using function setValue()
💬 App Building
5
198
October 6, 2025
Running queries after setting temporaryStates
💬 App Building
javascript
,
sql
,
table
,
component
4
1851
March 6, 2024