by thealchemistdev · 3y ago · 0 comments
The solution was to add a 50-300ms delay before the network request. Why? Because feelings and perception matter more than facts.
Remix would show a white screen and two seconds later have everything ready. Next would show the header and a loader first then gradually over the course of 3-5 seconds have everything ready.
In this case I would guess the issue is not with speed but feedback. The user did something, nothing changed, so they thought it was broken.
Instead of the delay you could add a toast or some text with near the button indicating that the action actually happened.