hooks.macro
hooks.macro copied to clipboard
useAutoUpdateEffect
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
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.
Thanks, I think I like that auto() solution