This is an extremely important chapter, which explains the purpose of all JS applications: talking to the backend. We will explain different approaches, including vanilla Next.js flow, with no frameworks, which is useful for understanding the essence of interaction. Then, we dive deeper into more and more advanced solutions.
This chapter covers the following:
- What's the difference between loading data on the client and on the server?
- Loading data using Vanilla JS
- GraphQL and Relay
- Apollo GraphQL