Be9.ing

Optimistic Updates

Ben @ Be9.ing
product-update

Be9ing is using Optimistic Updates

Small technical update, which should hopefully the experience of using Be9.ing. Next.js support Optimistic Updates, meaning that when you interact with the app, instead of waiting for server updates (for things like swaping card positions, or incrementing the trackers) it will now behave on the (optimistic) assumption that it worked, and the UI will update accordingly) straight away. (and will then correct itself later, if it turned out there was an issue with the database update)

Suspence Boundaries loading state