mantine icon indicating copy to clipboard operation
mantine copied to clipboard

[@mantine/hooks] use-did-update: Optimize fast refresh

Open u3u opened this issue 1 year ago • 2 comments

u3u avatar Jul 26 '22 10:07 u3u

Why are these changes required?

rtivital avatar Jul 26 '22 13:07 rtivital

At development time HMR will uninstall the component, but mounted is not reset, after that every save refresh will trigger useDidUpdate, sorry I didn't pay attention to ESLint

u3u avatar Jul 26 '22 13:07 u3u

@u3u can you please fix tests errors?

rtivital avatar Aug 12 '22 15:08 rtivital

Of course, I've fixed it.

u3u avatar Aug 13 '22 04:08 u3u

Thanks!

rtivital avatar Aug 16 '22 12:08 rtivital