Replies: 2 comments
-
We can add an example of "how to use useAsyncData" but the documentation needs to be easy to read even for not expert developers, so I would prefer to keep it as it is. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Example added in #153 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, this idea came to mind while discussing #148 (btw you could move the Volta's status from
canceled
todone
, since now I marked it as completed).Would you like the idea that I go and update all the docs code to use function like
useAsyncData
like discussed? There are two reasons why I'm considering this:refresh
value) was integrating a way to edit the parameters of the fetch and trigger a refresh. While it was working, I wasn't sure I was doing it in the right way (part of it because of the point above). But yesterday once I was pointed to the right directions on "what docs I should look at" everything seemed so simple and fast to integrate.The reason why I'm opening a discussion instead of straight creating a PR is just to make sure that you weren't already doing something similar, and I would have only created confusion in the process.
Beta Was this translation helpful? Give feedback.
All reactions