Mathias231 / Mathias231/verksted
Opprette custom hook
Open
@Mathias231 is already working on this.
Since May 31, 2023.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Mål
Hooken må hente data fra databasen.
## Plan
Bruke [SWR](https://swr.vercel.app) som er en Hook for henting av data.
Bruke [Axios](https://axios-http.com/docs/intro) for å kombinere med SWR Hook
## Gjennomføring
- [x] Sette opp fetcher
- [x] Sette opp SWR Hook
- [x] Teste hook
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.