An open API service indexing awesome lists of open source software.

https://github.com/neetjn/react-comlink-example

React example leveraging comlink.
https://github.com/neetjn/react-comlink-example

example html5 javascript js react reactjs webdev webworker

Last synced: 4 months ago
JSON representation

React example leveraging comlink.

Awesome Lists containing this project

README

          

# react-comlink-example

### About

This project was created to learn how to leverage Google's `comlink`; a microlibrary for working with Web Workers, without ejecting an application created with CRA.
Utilizing the comlink-loader for webpack, we can asynchronously load in our target web worker and register a new instance. Once initialized, we can asynchronously farm tasks to our webworker that will run outside of our primary thread.

---

Copyright (c) 2020 John Nolette Licensed under the MIT license.