Quiz
Patterns
10 questions
HOC, Render Props, Controlled components, and composition
01What main problem does the Render Props pattern solve?
02What is a Higher-Order Component (HOC)?
03What is prop drilling?
04Why is the key prop important in lists?
05What is a controlled component in forms?
06What is the Compound Components pattern?
07What does 'lifting state up' mean?
08What are Portals in React?
09What is the advantage of composition over inheritance in React?
10What is an uncontrolled component and when should you use one?
Was this helpful?
Sign in to give feedback
