Building Optimistic UI with no effort
Recently had to optimize a project that heavily depended on APIs. implemented quite a few features regarding perceived performance improvements, but haven’t done anything with optimistic UI pattern. came up with small, but powerful, React hook use-optimistic-update that helps with building predictable UIs. The React hook – https://www.npmjs.com/package/use-optimistic-update A short introductory blog post – https://karolis.sh/blog/optimistic-ui-in-practice […]