Quantcast
Channel: What is mapDispatchToProps? - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Answer by Saisurya Kattamuri for What is mapDispatchToProps?

$
0
0

mapStateToProps() is a utility which helps your component get updated state(which is updated by some other components),
mapDispatchToProps() is a utility which will help your component to fire an action event (dispatching action which may cause change of application state)


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>