React Dojo

Search

Search concepts, exercises and quizzes

Quiz

Fundamentals

10 questions

State, props, Virtual DOM, and the basics of React

01What is the Virtual DOM?
02What is the fundamental difference between state and props?
03What happens when you call useState with an expensive initial value to compute?
04What is the most important rule of Hooks?
05What does useRef return?
06What is JSX and how does the compiler transform it?
07What are Fragments in React and when should you use them?
08What is the difference between a React element and a React component?
09What are synthetic events (SyntheticEvent) in React?
10What does React.StrictMode do and in which environment does it take effect?
Was this helpful?
Sign in to give feedback