React query - outro quiz

React query - outro quiz

Professional Development

7 Qs

quiz-placeholder

Similar activities

Escuela Wompi - SQL

Escuela Wompi - SQL

Professional Development

12 Qs

ICT TRAINING

ICT TRAINING

Professional Development

10 Qs

coding contest

coding contest

Professional Development

10 Qs

SOAP x REST x GraphQL

SOAP x REST x GraphQL

University - Professional Development

10 Qs

Data Wrangling 01

Data Wrangling 01

Professional Development

10 Qs

Database Objects

Database Objects

Professional Development

10 Qs

11142020_A+_Lesson_5_Quiz

11142020_A+_Lesson_5_Quiz

Professional Development

10 Qs

AWS Data Lake Immersion Day

AWS Data Lake Immersion Day

Professional Development

12 Qs

React query - outro quiz

React query - outro quiz

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Re:Coded Org

Used 1+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

QueryClient is *select all that applies

is what's used for making requests.

is used to interact with a cache.

is using React context provider.

is passing the cache as a prop.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QueryClientProvider is a component to connect and provide a QueryClient to your application

true

false

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

useQueryClient gives you access to the client.

true

false

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

useQuery takes two required options:

queryKey

queryKeyHashFn

queryFn

queryCache

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

useMutation: *select all that applies

will track the state of a mutation

It'll give you loading , error and status fields to make it easy for you to display what's going on to your users

Can not be used to create/update/delete data or perform server side-effects.

is a hook

6.

MATCH QUESTION

1 min • 1 pt

Match the following

component to connect and provide a QueryClient to your application.

QueryClientProvider

is a hook used to query async data (Read data)

QueryClient

a React context provider, which allows us to access the client (cache) without passing props.

useQuery

is a hook used to Create/Update/Delete and re-fetch data from the server.

useQueryClient

is a hook that hook returns the current `QueryClient` instance.

useMutation

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

useQuery is declarative (runs when component is in focus, or is mounted), useMutation is imperative (has to be 'invoked').

true

false