Questions
To recap what we have learned in this chapter, try to answer the following questions:
- How can we easily create a full REST API from a JSON file for mocking purposes?
- What are the advantages of using a proxy to access our backend server?
- Which combinations of Hooks can be used to implement data fetching?
- Which advantages does TanStack Query have over our simple data fetching implementation?
- Which Hook in TanStack Query is used for fetching data?
- Which Hook in TanStack Query is used for making changes to the server?
- What role does the query key play in the TanStack Query library?
- What is a Suspense Boundary used for?
- What are Error Boundaries used for?