Skip to content

Frontend interview questions

JavaScript, TypeScript, React, CSS, browser performance and accessibility.

359 questions · 29 topics · 58 free answers

Frontend Developer roadmap4 stages from basics to interview-ready. Learn the gaps, then come back and practise.

0 of 359 practised · 0 bookmarked · saved on this device

15 questions match

React patterns and rendering
  1. #1What is the difference between useLayoutEffect and useEffect?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  2. #2What does useId solve?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  3. #3When should you use forwardRef?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  4. #4What is the compound component pattern?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  5. #5What is the render props pattern and what largely replaced it?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  6. #6What is a higher-order component?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  7. #7Why should you avoid defining components inside other components?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  8. #8What is the difference between useState lazy initialisation and a normal value?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  9. #9What does useSyncExternalStore do?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  10. #10What is the difference between Redux, Zustand and React Context for state?MediumConceptReact patterns and rendering Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

Hunting for a Frontend role too? See open Frontend jobs.