Programming Medium

JavaScript: React Fundamentals

React changed how developers think about building UIs — components, one-way data flow, and a virtual DOM instead of manual DOM updates. This quiz tests the fundamentals every React developer needs before diving into hooks.

Questions cover what JSX actually is, function vs. class components, passing data via props, the Virtual DOM, and the basics of component re-rendering.

Whether you're just starting with React or brushing up before an interview, these are the fundamentals worth knowing cold.

Start quiz → Opens in a new tab on Cletica
Sample questions3 of 14 shown
Q1
What is the primary purpose of React?
Q2
Which hook is used to manage state in functional components?
Q3
Which of the following are valid ways to create a React component? (Select all that apply)
Answer all 14 questions on Cletica →

What This Quiz Covers

Cletica

Want to create your own quiz?

Build surveys and quizzes, share with anyone, collect responses — free to start.

Try Cletica for free →