Created
August 26, 2016 12:09
-
-
Save ryo33/695b160f4f1a972e952be39c0fbe1f37 to your computer and use it in GitHub Desktop.
Reactで描画回数を制限する(ためのHOCを作った) ref: http://qiita.com/ryo33/items/1c70fd0fb8af2169d159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import throttle from 'react-throttle-render'; | |
const wrappedComponent = throttle(component, 50); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment