This assignment has two parts.
First, modify the HABITS_QUERY
to bring back more data than what we have now (hint: we're not bringing back any of each habit's entries). The best way to do this is to open up localhost:4000 in the browser and use GraphQL Playground to explore the schema. You can then just copy and paste your query back into App.js
.
Second, modify the UI to include that data. Feel free to get creative with the styling and formatting.
I'll show you my solution in the next video.