rc-fun react helper functions Install npm install rc-fun Usage bind import {bind} from 'rc-fun'; setState import {setState} from 'rc-fun'; switchState import {switchState} from 'rc-fun'; ref import {ref} from 'rc-fun';