Queries: Loading link-items

Preparing the Angular components

The first piece of functionality that you’ll implement in the app is loading and displaying a list of link-item elements. You’ll walk up our way in the Angular component hierarchy and start with the component that’ll render a single link-item.

Unlock the next chapter
What's the idiomatic way for loading data with Angular & Apollo?
Using a higher-order component called 'graphql'
Using the 'query' or 'watchQuery' method on Apollo service
Using 'fetch' and putting the query in the body of the request
Using XMLHTTPRequest and putting the query in the body of the request