🧩QuizCluster

Free practice quiz

React & Next.js Quiz Questions

A sample of the 10 questions below β€” instant scoring and an explanation for every answer. No sign-in required to play.

Question 1

What is a React Hook?

AA special function that lets you use state and other React features in function components
BA CSS class
CA component lifecycle only available in class components
DA build tool

Question 2

What does `useState` return?

AA promise
BAn array with the current state and a function to update it
COnly the current state
DOnly a setter function

Question 3

What is "hydration" in the context of Next.js/React server rendering?

AAttaching event listeners and making server-rendered HTML interactive on the client
BCompressing images
CMinifying CSS
DCaching API responses

↓ Scroll down to answer all 10 and see your score.

Preparing your quiz…