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
Number and button appears for like 0.1 second and then dissapears
first i had this setup with database and little more complex ui then i reduced it to very simple arrays with number and button
Btw i did try this with useTransition as well neither that neither action works
The expected behavior
Number with button should appear without dissapearing
The text was updated successfully, but these errors were encountered:
@vezaynk I expected component to show up and do not dissapear, I did have async work before I changed it to this simple array it was no different from what happening now, am I missing something? can you show me some code example or explain more what should be done?
@CodingReaper1useOptimistic values are discarded after a transition has completed.optimisticNumbers will only show the optimistic result while the operation is running.
Once it has completed, non-optimistic state is expected to either catch up or be canceled.
React version: "^18" I tried on "^18.3.1" as well
The current behavior
Number and button appears for like 0.1 second and then dissapears
first i had this setup with database and little more complex ui then i reduced it to very simple arrays with number and button
Btw i did try this with useTransition as well neither that neither action works
The expected behavior
Number with button should appear without dissapearing
The text was updated successfully, but these errors were encountered: