Glossary: React Beyond the Basics
response.ok
A property of a fetch response that is `true` when the status code signals success (200–299). Code checks it because `fetch` does not fail on a 404 or 500 answer.
Glossary: React Beyond the Basics
A property of a fetch response that is `true` when the status code signals success (200–299). Code checks it because `fetch` does not fail on a 404 or 500 answer.