Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setState not working after async await #124

Open
devvit-help-bot bot opened this issue Dec 6, 2024 · 0 comments
Open

setState not working after async await #124

devvit-help-bot bot opened this issue Dec 6, 2024 · 0 comments

Comments

@devvit-help-bot
Copy link

Details

I have a [state, setState] couple from useState.

setState works fine in the first call, but after an 'await someAsyncFunction' it doesn't work anymore.

I know flutter warns of using context across async gaps, so this may be similar

Additional info

Discord message: _I have a [state, setState] couple from useState.

setState works fine in the first call, but after an 'await someAsyncFunction' it doesn't work anymore.

I know flutter warns of using context across async gaps, so this may be similar_

Message author: odedbendov

Discord link: https://discord.com/channels/1050224141732687912/1311724352160665661/1311724352160665661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

0 participants