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.
- Host: GitHub
- URL: https://github.com/neetjn/react-comlink-example
- Owner: neetjn
- License: mit
- Created: 2020-05-28T04:06:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T14:43:19.000Z (over 4 years ago)
- Last Synced: 2025-04-03T03:45:12.275Z (10 months ago)
- Topics: example, html5, javascript, js, react, reactjs, webdev, webworker
- Language: JavaScript
- Homepage:
- Size: 469 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.