# Using Redux with React

**URL:** https://forum.kirupa.com/t/using-redux-with-react/637502
**Category:** programming
**Created:** [November 24, 2017, 2:58am UTC](https://forum.kirupa.com/t/using-redux-with-react/637502 "2017-11-24T02:58:43Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![AsimShakour](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@AsimShakour](https://forum.kirupa.com/u/AsimShakour)
#### Post date: [May 5, 2019, 9:01pm UTC](https://forum.kirupa.com/t/using-redux-with-react/637502/7 "2019-05-05T21:01:48Z")

</div>

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 |

---

_[View the full topic](https://forum.kirupa.com/t/using-redux-with-react/637502)._
