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.

"Uncaught TypeError: Cannot read property 'type' of undefined" and unclear what it is related to

I originally thought this was an issue with react-redux, axios, lodash, and/or react-dropzone; however, files are uploading fine, but …

reactjs react-router react-redux axios react-dropzone
How to open in-app browser window in React native

I'm trying to open the browser window without leaving the app when I click a URL (for both iOS and …

react-native react-redux react-native-android react-native-ios
React require("history").createBrowserHistory` instead of `require("history/createBrowserHistory")

So basically i am having a problem in using the history library in react. Is it because of the latest …

reactjs react-redux react-router history.js
mapStateToProps must return an object. Instead received Map {}?

Hello i use Immuteble Map for state and when i try maspStateToProps i have this error. Uncaught Invariant Violation: mapStateToProps …

reactjs redux immutable.js react-redux
intl.formatMessage not working - react-intl

I am trying to do language translation using react-intl. When I use this <FormattedMessage id='importantNews' />, it is …

reactjs redux react-redux react-intl babel-plugin-react-intl
How to test componentDidUpdate()?

This is an example implementation: export class Person extends Component { componentDidMount() { const { onLoadProfile, onLoadPolicy, person } = this.props onLoadProfile(person.profile.…

reactjs react-redux jestjs enzyme
How to test a component using react-redux hooks?

I have a simple Todo component that utilizes react-redux hooks that I'm testing using enzyme but I'm getting either an …

reactjs testing redux react-redux enzyme
React-Redux - No reducer provided for key "coins"

Not sure why I'm getting the following errors. I'm just setting up my store, actions and reducers, I haven't called …

javascript reactjs redux react-redux
Call function after dispatch from redux has finished

All around it but not quite as I have enough of an idea of redux-thunk and of react-router but I …

reactjs redux react-router react-redux redux-thunk
What are differences between redux, react-redux, redux-thunk?

I am using React + Flux. Our team is planning to move from flux to redux. Redux is very confusing for …

javascript reactjs redux reactjs-flux react-redux