by Y-bar · 2y ago · 0 comments
> optimistically show the user a success result?
I don't particularly like React, but this a core feature of such JS frontend frameworks, optimistically "succeed" while async network and back-end work happens to give the illusion of speed: https://react.dev/blog/2024/04/25/react-19#new-hook-optimist...
I don’t have any strong feelings one way or another as long as there is proper inline feedback.