15.
How do you connect a React component to the Redux store?
Subscribing to store updates using the subscribe method provided by Redux
Through inheriting from the ReduxComponent class in React components
By declaring global variables for state and dispatch in your React component
Using the connect() function from the react-redux library
Correct: D
To connect a React component to the Redux store, you can use the connect() function provided by the react-redux library. This function allows you to map the state and dispatch functions to the component's props, making it easier to access and update the Redux store from within the component.