-
What are PropTypes used for? proptypes are used to check data inputs to make sure they are the correct type.
-
What is a lifecycle event in React? A lifecycle event is a function in React that controls how and when components are rendered or re-rendered after the virtual DOM is updated.
-
What is a Higher Order Component? A higher order component takes in another component and returns a new component. The goal of HOC's is to increase reusability of components.
-
What are three different ways to style components in React? inline-styling of components, external css sheets, and styled componenets.