Skip to content

Commit

Permalink
Merge branch 'main' into canary-ci-2-fix-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Dec 24, 2024
2 parents c12e62f + 8d3395a commit f6ede62
Show file tree
Hide file tree
Showing 109 changed files with 2,726 additions and 2,555 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

## [Unreleased]

## [0.21.10] - 2024-12-22

### Changed

- Bug fixes

## [0.21.9] - 2024-12-15

### Changed

- Support for progressive enhancement
- Various bug fixes

## [0.21.8] - 2024-12-10

### Changed
Expand Down
33 changes: 33 additions & 0 deletions docs/guides/monorepo.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
slug: guides/monorepo
title: Waku in a Monorepo Setup
description: Tips for Using Waku in a Monorepo Setup
---

## Issues with Two Instances of React

Example error:

```
TypeError: Cannot read properties of null (reading 'use')
```

This issue can sometimes occur in `pnpm` workspaces. In such cases, configuring Vite may resolve the problem.

`vite.config.ts`:

```ts
import { defineConfig } from 'vite';

export default defineConfig({
resolve: {
dedupe: ['react', 'react-dom'],
},
});
```

Ref: https://github.com/dai-shi/waku/issues/676

---

If you encounter other issues while using Waku in a monorepo setup, please report them.
108 changes: 0 additions & 108 deletions e2e/21_create-pages_standalone.spec.ts

This file was deleted.

214 changes: 0 additions & 214 deletions e2e/broken-link.spec.ts

This file was deleted.

Loading

0 comments on commit f6ede62

Please sign in to comment.