January 2019
Intermediate to advanced
460 pages
10h 33m
English
We will now take a look at the second approach, which is also the approach of the official Apollo documentation. Before getting started, undo the HoC implementation to send requests from the previous section. The new way of fetching data through the Apollo Client is via render props, or render functions. These were introduced to the Apollo Client in March 2018, and they replaced the good old HoC process.
Now, follow these instructions to get the Query component running:
Read now
Unlock full access