Lesson
15
SDK Quiz
Log in to watch a video walkthrough of this lesson
Log in

Let's put everything you've learned to the test!
Log in to mark your progress for each Lesson and Task
Now you've built a fully featured content application, let's see what you've learned about some of the hooks you've put to work.
You must be logged in to answer questions
useDocuments is preferable to client.fetch because...
1
It fetches faster
2
Built-in batching and real-time updates
3
Hooks are the only way to fetch data in React
4
You can't be trusted with client.fetch
You must be logged in to answer questions
useDocumentProjection is a hook for
1
Fetching multiple documents
2
Fetching document values
3
Fetching future values
4
Fetching user data
You must be logged in to answer questions
useDocument should be used sparingly because
1
It costs extra
2
It resolves both local and remote states of the document
3
It's slower
4
It's not always correct
You must be logged in to answer questions
useEditDocument creates better UI than client.patch because
1
It's faster
2
It handles versions
3
It handles webhooks
4
It's cheaper
You must be logged in to answer questions
useApplyDocumentActions provides a way to perform actions, like
1
Trigger a webhook
2
Publish a document
3
Update your billing
4
Delete a user
You must be logged in to answer questions
useDocumentEvent listens to
1
Mutations to documents
2
Webhooks firing
3
User log-ins
4
Your computer's microphone
You must be logged in to answer questions
useNavigateToStudioDocument
1
Is an incredibly specific name for a hook
2
Is a mysterious name for a hook
You have 7 uncompleted questions in this lesson
0 of 7