Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd useSWRPages api to Readme.md #70
Comments
|
Will do after shipping #95 |
|
@quietshu I'm having a bit of trouble understanding what the page key is meant for, and what is happening in the following section. Perhaps you could describe that a bit more in the README or examples?
Also, how might one use mutate or trigger a manual revalidation while preserving the offset? In my use case I have a dashboard of items, with 20 items per page: |
|
Just bumping this so it hopefully gets resolved :) |
I'm running into the same issue. I have a list of items which can be selected. When selected, the item will show with details next to the list side-by-side. The details can be edited and should also reflect these changes in the list. There doesn't seem to be a simple way to revalidate without having to somehow making the Another idea I had was to store each key that is requested in a global store and manually |
there is already some docs on the file itself, you can see it here: And there is a nice tutorial about it here: Would be nice if someone copied some of those and added as example on the README. |


Add useSWRPages api to Readme.md