-
Notifications
You must be signed in to change notification settings - Fork 233
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
Improve docs for async utils #625
Comments
Oh, and to be clear, the trouble is that I assumed that the async utils would be available as direct imports like they are in React Testing Library. Is there a reason they're not? |
There is a code example in the async section but I'll admit it doesn't cover all of them and could be improved, especially as the only other reference for where to get them is merely implied by the heading hierarchy of the API reference. I actually want to redo the docs as I feel the "story" it tries to tell as the hook requirements evolve actually just over-complicates the examples. As for why it isn't a global import, the main reason is that unlike I'm happy to consider moving them if a strong enough argument can be made. |
I think simply adding some more complete examples to the API docs would be all that's needed. |
Thanks for the input @kentcdodds, we'll look to improve the docs for this. |
What is your question:
I'm sorta ashamed to admit it, but it's unclear to me how to use the async utils based on the docs. I've had to dig around a lot to figure it out. Could there be a few code examples added to the docs?
The text was updated successfully, but these errors were encountered: