Frontend interview questions
JavaScript, TypeScript, React, CSS, browser performance and accessibility.
359 questions · 29 topics · 58 free answers
0 of 359 practised · 0 bookmarked · saved on this device
15 questions match
React patterns and rendering#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.