Using Apollo Client
For the sake of equal comparison, we’re going to build our Apollo-based application on top of React. As we mentioned before, one of Apollo’s benefits is that it isn’t coupled to a specific UI framework (for example, we could also use Vue.js,[41] another popular option), but React is, by far, still the most popular choice for working with Apollo. Giving you the ability to build UI components with HTML, JavaScript, and even CSS in the same file, React has become one of the most widespread tools on the modern web.
We’re going to build a fresh user interface for our PlateSlate application, displaying the same list of menu items that we did before. We’ll also be adding support for live updating, showing you how you can use Apollo ...
Get Craft GraphQL APIs in Elixir with Absinthe now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.