Skip to content

feat: Create new playground using comlink-worker-pool-react#1

Open
natanelia wants to merge 1 commit intomainfrom
feat/add-react-playground
Open

feat: Create new playground using comlink-worker-pool-react#1
natanelia wants to merge 1 commit intomainfrom
feat/add-react-playground

Conversation

@natanelia
Copy link
Owner

This commit introduces a new playground example that utilizes the useWorkerPool hook from the comlink-worker-pool-react package.

The new playground (packages/playground-react):

  • Demonstrates the usage of the React bindings for comlink-worker-pool.
  • Mirrors the functionality of the original playground.
  • Is configured to run on a different port (5174) to avoid conflicts.

Changes include:

  • Creation of packages/playground-react directory and necessary files.
  • Modification of App.tsx in the new playground to use the useWorkerPool hook.
  • Updates to package.json files (root and new playground) to include new dependencies and run scripts.
  • A new GitHub Actions workflow (.github/workflows/deploy-playground-react.yml) for deploying the react playground to GitHub Pages.

This commit introduces a new playground example that utilizes the `useWorkerPool` hook from the `comlink-worker-pool-react` package.

The new playground (`packages/playground-react`):
- Demonstrates the usage of the React bindings for `comlink-worker-pool`.
- Mirrors the functionality of the original playground.
- Is configured to run on a different port (5174) to avoid conflicts.

Changes include:
- Creation of `packages/playground-react` directory and necessary files.
- Modification of `App.tsx` in the new playground to use the `useWorkerPool` hook.
- Updates to `package.json` files (root and new playground) to include new dependencies and run scripts.
- A new GitHub Actions workflow (`.github/workflows/deploy-playground-react.yml`) for deploying the react playground to GitHub Pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments