I wrote the simple code on codepen.io here. I added the appState property into the props through the mapStateToProps function. But in
appState
props
mapStateToProps