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

Clarify usage of useFuture through documentation #407

Closed
kwill39 opened this issue Jan 4, 2024 · 1 comment
Closed

Clarify usage of useFuture through documentation #407

kwill39 opened this issue Jan 4, 2024 · 1 comment

Comments

@kwill39
Copy link
Contributor

kwill39 commented Jan 4, 2024

Describe what scenario you think is uncovered by the existing examples/articles
Document that Futures should not be created inside useFuture (see #132 & #119)

Describe why existing examples/articles do not cover this case
useFuture behaves like FutureBuilder. This is not explicitly stated but rather implied through an understanding of Flutter Hooks. This understanding may not be intuitive for new users and can lead to a misunderstanding about the behavior of useFuture.

@kwill39
Copy link
Contributor Author

kwill39 commented Jan 4, 2024

See #408

@kwill39 kwill39 closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants