You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening this issue. In order to confirm it, we'll have to reproduce it.
As explained in the bug report template, please fork the following CodeSandbox and repeat your issue on it:
What you were expecting:
Change custom props in
EditButton
(e.g.className
) trigger button re-render.What happened instead:
EditButton
wont re-render.Steps to reproduce:
In root component:
After root component re-renders,
useStyles
will return new name foreditButton
andEditButton
will omit this change due to shouldUpdate internal.Related code:
From source of
EditButton
:Environment
3.0.0-beta.3
16.10.2
Version 78.0.3904.70 (Official Build) Arch Linux (64-bit)
not need
The text was updated successfully, but these errors were encountered: