Using Redux with React | KIRUPA

React is cool. Redux is cool. What if we combined them both to create something...extra cool?!! This tutorial explores this topic in greater detail: :stuck_out_tongue:
1 Like

I loved reading your react redux tutorial. Which software you used to create diagrams for this tutorial. They are pretty neat.

  • Saurabh

Adobe Animate :slight_smile:

Glad you liked it!

seriously, i love it … :yum::yum:

Finally understood the simplicity of Redux… Thank you!

There is a tricky semicolon

// Map Redux state to component props
function mapStateToProps(state) {
  return {
    countValue: state.count;  // <- here

I am happy to find it cause I am happy I actually read your articles and not only the code. Thank you very much for these tutorials :slight_smile:

1 Like

thank you! I was getting an error and couldn’t figure out why! I appreciate it.

In case if someone get’s the same error:
Parsing error: Unexpected token, expected “,”

5 | function mapStateToProps(state) {
6 | return {

7 | countValue: state.count;
| ^
8 | };
9 | }
10 |