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

Create fetch API hook #4

Open
jjchung3 opened this issue Feb 5, 2021 · 0 comments
Open

Create fetch API hook #4

jjchung3 opened this issue Feb 5, 2021 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@jjchung3
Copy link
Contributor

jjchung3 commented Feb 5, 2021

It is annoying creating a function for every REST API call
Currently we only call the zotbins api, but I feel we will need to call to other APIs as well
Make a hook which works with dynamic
Something like this
https://medium.com/@jarydcarolin/seamless-api-requests-with-react-hooks-part-1-7531849d8381

@jjchung3 jjchung3 added the enhancement New feature or request label Feb 5, 2021
@DevPopat DevPopat added this to To Do in ZotBuddy Mar 5, 2021
@jjchung3 jjchung3 moved this from To Do to Done in ZotBuddy Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant