Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic by naorye

View this thread on steempeak.com
· @naorye ·
$54.54
Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic
#### Repository
https://github.com/naorye/redux-polling

My project is about reducing boilerplate code when using Redux for polling scenarios.

In order to support polling, a developer needs to write a dedicated reducer and actions, implement the polling (all the setTimeout / setInterval stuff), deal with history and this is even before writing the business logic of polling itself. This is frustrating especially when writing an app that contains many kinds of polling (for example charts and progress bars) because than the developer duplicates that boilerplate code.

Right now there is no solution that solves such scenario. Therefore I decided to write one. I encapsulated all that boilerplate code, defined a simple yet extensive enough api and created Redux Polling.

The project is written for Redux applications and has zero dependencies (except babel-runtime) as you can see in the project's [package.json](https://github.com/naorye/redux-polling/blob/master/package.json). You can also see a live demo I made [here](https://naorye.github.io/redux-polling/) and the demo source code [here](https://github.com/naorye/redux-polling/tree/master/example).

There are many possible use cases for this module and many features that can be added according to those use cases. I'll keep the repository updated according to those needs, but here I need your assistance as developers. Use Redux Polling - it's easy, well documented and will help you to stay focused on your business logic. Contribute - ask, answer, open issues according to your needs and use cases and assist to maintain it.
It's really great.  

You can find [here](https://github.com/naorye/redux-polling#contributing) how to contribute.

#### GitHub Account
https://github.com/naorye

Thanks,
NaorYe
πŸ‘  , , , , , , , , , , , , , , , , , ,
properties (23)
post_id59,198,861
authornaorye
permlinkredux-polling-convenient-way-to-support-polling-in-your-redux-app-so-you-can-focus-on-the-business-logic
categoryutopian-io
json_metadata{"app":"steemit\/0.1","format":"markdown","links":["https:\/\/github.com\/naorye\/redux-polling","https:\/\/github.com\/naorye\/redux-polling\/blob\/master\/package.json","https:\/\/naorye.github.io\/redux-polling\/","https:\/\/github.com\/naorye\/redux-polling\/tree\/master\/example","https:\/\/github.com\/naorye\/redux-polling#contributing","https:\/\/github.com\/naorye"],"tags":["utopian-io","development","redux","javascript","polling"]}
created2018-08-09 12:23:45
last_update2018-08-09 12:23:45
depth0
children5
net_rshares41,396,693,225,920
last_payout2018-08-16 12:23:45
cashout_time1969-12-31 23:59:59
total_payout_value41.091 SBD
curator_payout_value13.447 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,772
author_reputation1,284,957,870,681
root_title"Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (19)
@steemitboard ·
Congratulations @naorye! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x70/http://steemitboard.com/notifications/firstpayout.png)](http://steemitboard.com/@naorye) You got your First payout
[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png)](http://steemitboard.com/@naorye) Award for the total payout received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
post_id59,229,697
authorsteemitboard
permlinksteemitboard-notify-naorye-20180809t180859000z
categoryutopian-io
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2018-08-09 18:08:57
last_update2018-08-09 18:08:57
depth1
children0
net_rshares0
last_payout2018-08-16 18:08:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length872
author_reputation38,705,954,145,809
root_title"Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@codingdefined ·
$8.88
Thank you for your contribution. You can try to have better commit messages and write some comments in the code. It's better to write a Roadmap if you think this project can be made better so that people going through the post knows what they can expect next.


Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2321234).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  , , ,
properties (23)
post_id59,300,070
authorcodingdefined
permlinkre-naorye-redux-polling-convenient-way-to-support-polling-in-your-redux-app-so-you-can-focus-on-the-business-logic-20180810t115148712z
categoryutopian-io
json_metadata{"app":"steemit\/0.1","tags":["utopian-io"],"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/3\/2321234","https:\/\/support.utopian.io\/","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"]}
created2018-08-10 11:51:48
last_update2018-08-10 11:51:48
depth1
children1
net_rshares6,894,802,457,269
last_payout2018-08-17 11:51:48
cashout_time1969-12-31 23:59:59
total_payout_value6.662 SBD
curator_payout_value2.217 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length751
author_reputation71,157,752,447,147
root_title"Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (4)
@utopian-io ·
Thank you for your review, @codingdefined!

So far this week you've reviewed 5 contributions. Keep up the good work!
properties (22)
post_id59,673,874
authorutopian-io
permlinkre-re-naorye-redux-polling-convenient-way-to-support-polling-in-your-redux-app-so-you-can-focus-on-the-business-logic-20180810t115148712z-20180814t130415z
categoryutopian-io
json_metadata{"app":"beem\/0.19.42"}
created2018-08-14 13:04:15
last_update2018-08-14 13:04:15
depth2
children0
net_rshares0
last_payout2018-08-21 13:04:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length116
author_reputation152,913,012,544,965
root_title"Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey @naorye
**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id59,577,340
authorutopian-io
permlinkre-redux-polling-convenient-way-to-support-polling-in-your-redux-app-so-you-can-focus-on-the-business-logic-20180813t125011z
categoryutopian-io
json_metadata{"app":"beem\/0.19.42"}
created2018-08-13 12:50:12
last_update2018-08-13 12:50:12
depth1
children0
net_rshares0
last_payout2018-08-20 12:50:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length298
author_reputation152,913,012,544,965
root_title"Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemitboard ·
Congratulations @naorye! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/https://steemitboard.com/@naorye/birthday1.png</td><td>Happy Birthday! - You are on the Steem blockchain for 1 year!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@naorye) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=naorye)_</sub>


###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
post_id75,890,082
authorsteemitboard
permlinksteemitboard-notify-naorye-20190605t102851000z
categoryutopian-io
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2019-06-05 10:28:51
last_update2019-06-05 10:28:51
depth1
children0
net_rshares0
last_payout2019-06-12 10:28:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length612
author_reputation38,705,954,145,809
root_title"Redux Polling - Convenient way to support polling in your Redux app so you can focus on the business logic"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000