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

Investigate using @zeit/swr #168

Closed
2 of 4 tasks
lottamus opened this issue Dec 19, 2019 · 1 comment · Fixed by #193
Closed
2 of 4 tasks

Investigate using @zeit/swr #168

lottamus opened this issue Dec 19, 2019 · 1 comment · Fixed by #193
Assignees
Labels

Comments

@lottamus
Copy link
Contributor

lottamus commented Dec 19, 2019

Chore summary

We have a custom hook for managing request data: https://github.com/stoplightio/elements/blob/master/src/hooks/useRequest.tsx. It works fine, but it would be nice to not worry about having to maintaining it.

I found this repo the other day which looks promising but still need to investigate if it will fit all of our needs: https://github.com/zeit/swr

Tasks

Additional context

  • Needs to support making paginated requests to the /project.nodes endpoint
  • Needs to support client side caching of request/response data
@lottamus lottamus added the chore label Dec 19, 2019
@lottamus lottamus assigned lottamus and unassigned lottamus Dec 30, 2019
@lottamus lottamus assigned ssspear and unassigned ssspear Jan 13, 2020
@lottamus lottamus self-assigned this Jan 21, 2020
@stoplight-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 3.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

3 participants