hooks.macro icon indicating copy to clipboard operation
hooks.macro copied to clipboard

useAutoUpdateEffect

Open lishine opened this issue 4 years ago • 2 comments

I wish this feature, like useUpdateEffect from react-use https://github.com/streamich/react-use/blob/master/src/useUpdateEffect.ts https://github.com/streamich/react-use/blob/master/src/useFirstMountState.ts

lishine avatar May 05 '20 22:05 lishine

Hi! Thanks for the proposal! I’ll have a look into it asap! Please note that we might not need such a specific version, of you look at #14 there’s a potentially generalized solution.

yuchi avatar May 07 '20 07:05 yuchi

Thanks, I think I like that auto() solution

lishine avatar May 07 '20 07:05 lishine