Commit Graph

3 Commits

Author SHA1 Message Date
Remco Haszing 7aa5d16231 Use the automatic runtime for type checking (#83159)
Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
2025-09-02 12:35:42 +02:00
SamPhillemon e99f73622b Update with web worker example to utilize the App Router (#70058)
This PR updates the with-web-worker example to use the App Router. Here
are the changes that have been made:

- Renamed the `pages` folder to the `app` folder.
- Updated the routing for `/` files to align with the App Router.
- Added the layout.tsx file as part of the App Router.
- Updated the package.json file.

The following actions were performed as part of this PR:
- Ran `pnpm prettier-check` with no issues found.
- Executed the `pnpm check-examples` script.

---------

Co-authored-by: samcx <sam@vercel.com>
2024-09-13 14:09:24 -07:00
Henrik Wenz cc7fd2c247 chore: refactor with-web-worker example (#40844)
## Changes

- Updated dependencies
- Migrated to typescript
- Removed `div` in favour of Fragment
- Replaces `var` with `let` since we don't need global hoisting here

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-09-23 14:08:30 -07:00