react-debounce-render
react-debounce-render copied to clipboard
Allow externally defined shouldComponentUpdate
trafficstars
This commit allows the user to externally control immediate updates with a callback similar to shouldComponentUpdate. When that returns true, we can flush the debounced update, and immediately re-render.
Thanks, this looks interesting. Would you mind adding the tests for that as well as the doc in the README.md?