Connecting Components

What is the first argument passed to "connect"?
The component to render.
A function which returns the component to render.
A "render prop" to get data from the store.
A function which specifies which data from the store the component needs.
What does "connect" return?
A function which will receive the component to render when it's invoked
The component being rendered
A connected component
A function to unsubscribe from the store
What's the point of our "connect" function?
To create a new component which will subscribe to and be passed data from the store as props
To add the store to context
To render a React component
To create a new component to pass to createStore.
{"name":"Connecting Components", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the first argument passed to \"connect\"?, What does \"connect\" return?, What's the point of our \"connect\" function?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker