Top "React-redux" questions

The react-redux package provides the official React bindings for Redux: the `useSelector` and `useDispatch` hooks and the `connect` higher-order component.

Access State inside of mapDispatchToProps method

I have written a container component using redux and my implementation for mapDispathToProps looks like this const mapDispatchToProps = (dispatch, ownProps) =&…

redux react-redux
Can I mapDispatchToProps without mapStateToProps in Redux?

I am breaking apart Redux' todo example to try to understand it. I read that mapDispatchToProps allows you to map …

javascript reactjs redux react-redux
Accessing a reducer state from within another reducer

I have a reducer whereby I am retuning the appropriate state when an action is dispatched. Now I am calling …

reactjs redux react-redux reducers
ReactJS: How to handle Image / File upload with Formik?

I am designing a profile page for my site using ReactJS. Now my question is how do I upload the …

reactjs react-redux reducers formik
Redux TypeError: Cannot read property 'apply' of undefined

I have disabled react devtools and redux devtools. I've been searching for ways to deal with this problem for hours, …

reactjs redux react-redux
Accessing a part of reducer state from one reducer within another reducer

I do not know how to access a boolean isLoading flag from reducerForm.js reducer in reducerRegister.js. I have …

javascript reactjs redux react-redux reducers
Can I view/modify the Redux store using Chrome Dev Tools

React Dev Tools is great for working with Redux, I can simply go in and modify props / state to see …

javascript reactjs redux google-chrome-devtools react-redux
Axios: getting two requests OPTIONS & POST

I have a React app built using Redux and React and I'm trying to post data. Everything works fine, but …

javascript reactjs redux react-redux axios
How to dispatch Redux action from stateless component when route is loaded?

Goal: when loading a react-router route, dispatch a Redux action requesting asynchronic Saga worker to fetch data for the underlying …

reactjs react-redux react-router-redux redux-saga