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
The text was updated successfully, but these errors were encountered:
eip1599
changed the title
Inconsistent value while doing conditional rendering.
[BUG?] Inconsistent value while doing conditional rendering.
May 18, 2020
I am doing conditional rendering. So when the data is not ready I don't show children.
Expected behavior:
Consistent value across components regardless of conditional rendering.
Current behavior:
Value update is not synchronized, previous value is shown in Children.
Minimal reproduction:
https://codesandbox.io/s/swr-mutate-bug-uryb6
When you click into the mutate button twice, you see inconsistent values in the console.
The text was updated successfully, but these errors were encountered: