In this tutorial, we’ll build a React Hook that enables us to gradually load data without blocking the UI of the browser.
IDB-Keyval is a promise-based API that enables you to persist preferences beyond page refresh in a fashion that will work both online and offline.
Web workers are notoriously difficult to interact with, but Comlink makes the process much more elegant.