© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Mayank Chandola
Yes the component is listening to the store but showAddPost is stored in the internal state of PostContainer component.
showAddPost
PostContainer
Sudhama
Founder, www.muzenly.com
thanks Mayank. So then the mapStateToProps only binds the store to the state for the first render or I guess not even? Also, why not try to set the state after getting it from the value on the store in this case?