⚛️

React

How do you ensure methods have the correct this context in React component classes?
image
How to apply prop validation in React?
image
What are error boundaries in React?
image
What are fragments?
image
What are portals in React?
image
What are callback refs in React? When should they be used?
image
What are the different phases of the component lifecycle in React?
image
What are the lifecycle methods in React?
image
What does lifting state up in React mean?
image
What is a callback? Can you show an example using one?
image
What is a key? What are the benefits of using it in lists?
image
What is a stateful component in React?
image
What is a stateless component?
image
What is a virtual DOM and why is it used in libraries/frameworks?
image
What is context?
image
What is the difference between an element and a component in React?
image
What is the purpose of callback function as an argument of setState?
image
What is the purpose of JavaScript UI libraries/frameworks like React, Vue, Angular, Hyperapp, etc?
image
What is the children prop in React?
image
Which is the preferred option between callback refs and findDOMNode()?
image
Why does React use className instead of class like in HTML?
image
What are higher-order components?
image
What are inline conditional expressions and why are they useful?
image
How do you pass an argument to an event handler or callback?
image