Batch component for performant frequent updates (flush on count or interval)
by tjJavaScript
Last 12 weeks · 0 commits
1 of 6 standards met
Repository: tj/react-batch. Description: Batch component for performant frequent updates (flush on count or interval) Stars: 247, Forks: 7. Primary language: JavaScript. Languages: JavaScript (100%). Topics: react, react-component. Open PRs: 0, open issues: 2. Last activity: 7y ago. Community health: 28%. Top contributors: tj, Luchanso, choco-cieslik.
Likely as a HOC, basically the idea would be to adjust the flushCount based on past events, if the stream is sparse then it's safe to lower the value, otherwise crank it up.
More information: https://facebook.github.io/react/docs/typechecking-with-proptypes.html