UNPKG

refun

Version:

A collection of React Hook-enabled functions that compose harmoniously with each other. Similar to `recompose`, but:

2 lines (1 loc) 137 B
export declare const onUpdate: <P extends {}>(onUpdateFn: (props: P) => (() => void) | void, watchKeys: (keyof P)[]) => (props: P) => P;