A.) By extending the React.Component class B.) By defining a JavaScript function that returns JSX C.) By using the "function" keyword inside a class D.) By importing a pre-built component
A.) It contains the component's internal state B.) It represents the child components of a parent component C.) It defines the component's styling D.) It contains the component's methods
A.) A React component without a parent B.) A lightweight representation of a DOM element C.) A way to group multiple elements without adding an extra DOM node D.) A component with no props
A.) Using the "import" statement with curly braces B.) Using the "require" statement with parentheses C.) Using the "import" statement without curly braces D.) Using the "import" statement with square brackets
A.) To fetch data from an API B.) To perform cleanup operations before unmounting a component C.) To update the component's state after it has rendered D.) To initialize component state
A.) To manage the presentation layer B.) To handle server-side rendering C.) To manage global state D.) To control routing
A.) To determine if a component should be re-rendered B.) To force a component to re-render C.) To initialize component state D.) To perform side effects
A.) The component's internal state B.) The component's methods C.) Data passed from a parent component D.) The component's CSS styles
A.) componentDidCatch() B.) componentError() C.) componentDidError() D.) error()
A.) To create functional components B.) To manage component state C.) To handle form submissions D.) To share data between components without props drilling