3forges / poc-preact-rtk-flowbite

0 stars 1 forks source link

pestoApi as a service worker #12

Open BorisTherin opened 9 months ago

BorisTherin commented 9 months ago

Using web workers with TypeScript and React has become much easier; we can now handle operations and heavy tasks in the background while boosting performance and improving the UX.

tuto react-typescript for a web-worker: https://blog.logrocket.com/web-workers-react-typescript/

How to place React useReducer Hooks into web workers: https://blog.logrocket.com/react-usereducer-hooks-web-workers/