wanted to inquire if anyone else has considered creating an analytics saga that can listen to and respond to specific actions.
right now, the consensus seems to be around either middleware
https://github.com/markdalgleish/redux-analytics
or making a higher-order 'reactive' component like this
http://blog.reactandbethankful.com/posts/2016/09/27/redux-analytics-without-middleware/
any thoughts as to whether or not sagas would be a candidate to fill this role?
Sure you can use sagas for this. Just take what you are interested in and call what you need ;)
Definitely a good use case for sagas. We do that at ProductReview.com.au because it becomes easy to:
read_page_PThe options are endless and redux-saga makes them a breeze to implement.
Going to close this, if you have any further questions - please just ask :)
Most helpful comment
Definitely a good use case for sagas. We do that at ProductReview.com.au because it becomes easy to:
read_page_PThe options are endless and redux-saga makes them a breeze to implement.