Skip to content

React Quiz (50 Questions)

Answer all questions, track your progress live, and see your final result at the end.

Progress 0 / 50 answered
Q1. What is React mainly used for?
Q2. What must a React function component return?
Q3. Which attribute replaces HTML class in JSX?
Q4. What does useState return?
Q5. Where must hooks be called?
Q6. What does useEffect run after by default?
Q7. What should you return from useEffect for cleanup?
Q8. What is a controlled input?
Q9. Why are keys important in lists?
Q10. What does React.memo do?
Q11. What is Context used for?
Q12. What does useRef provide?
Q13. What is JSX?
Q14. What does lifting state up mean?
Q15. Which hook memoizes an expensive calculation?
Q16. Which hook memoizes a callback identity?
Q17. What does Strict Mode help with in development?
Q18. What is reconciliation?
Q19. Fragments let you…
Q20. Default PropTypes are…
Q21. In React, what best describes 'Introduction'?
Q22. When learning React, why study 'Introduction'?
Q23. Which statement about 'Introduction' in React is most accurate?
Q24. In React, what best describes 'Basics'?
Q25. When learning React, why study 'Basics'?
Q26. Which statement about 'Basics' in React is most accurate?
Q27. In React, what best describes 'Setup'?
Q28. When learning React, why study 'Setup'?
Q29. Which statement about 'Setup' in React is most accurate?
Q30. In React, what best describes 'Create React App'?
Q31. When learning React, why study 'Create React App'?
Q32. Which statement about 'Create React App' in React is most accurate?
Q33. In React, what best describes 'Vite React Setup'?
Q34. When learning React, why study 'Vite React Setup'?
Q35. Which statement about 'Vite React Setup' in React is most accurate?
Q36. In React, what best describes 'Components'?
Q37. When learning React, why study 'Components'?
Q38. Which statement about 'Components' in React is most accurate?
Q39. In React, what best describes 'Functional Components'?
Q40. When learning React, why study 'Functional Components'?
Q41. Which statement about 'Functional Components' in React is most accurate?
Q42. In React, what best describes 'Props'?
Q43. When learning React, why study 'Props'?
Q44. Which statement about 'Props' in React is most accurate?
Q45. In React, what best describes 'State'?
Q46. When learning React, why study 'State'?
Q47. Which statement about 'State' in React is most accurate?
Q48. In React, what best describes 'Rendering'?
Q49. When learning React, why study 'Rendering'?
Q50. Which statement about 'Rendering' in React is most accurate?