Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 19:40:51 +02:00
parent d69d13ee26
commit 790f0de37f
5 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ firstSeen: 2019-08-21T14:23:57+03:00
lastUpdated: 2021-01-07T23:57:13+02:00
---
Implements `fetch` in a declarative manner.
Implements `fetch()` in a declarative manner.
- Create a custom hook that takes a `url` and `options`.
- Use the `useState()` hook to initialize the `response` and `error` state variables.