Quantcast
Channel: Better approach to get store data without direct access - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Sultan H. for Better approach to get store data without direct access

You can make an action getData(), which will have a faster subscription than this.props in a component.another option is, send getData() function as a second argument callback() to your...

View Article


Better approach to get store data without direct access

Let's assume that store have data like this:{ filter: { id: 'John Doe' }, page: 1, pageSize: 10}I want to get data from server with those values.I can achieve this by using React-Redux's connect...

View Article

Browsing latest articles
Browse All 2 View Live


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