navneet-g / rdm-react-redux6issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repro for reduxjs/react-redux#1194

  • Created using create react app
  • To see the repro do following
    • yarn install
    • yarn run start
    • notice that reducer does not return undefined and returns 0 for the counter value
    • but even then mapStateToProps in Counter.js get the store state as {} instead of {counter:0}

About


Languages

Language:JavaScript 88.4%Language:HTML 11.6%