React
Boost Your React Apps with Apollo: Beyond the Basics

Exercise: Use Fragment with Entries Query

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

Now that you understand how fragments work, it's time for you to try it out yourself.

First, add a fragment for the fields on the Entry data type in our fragments helper file. Then, use your new shiny fragment in AddEntry.js and Habit.js for fetching and adding entries. Good luck!

 

I finished! On to the next chapter