[PR #844] [MERGED] fix: rewrite error for react hooks without directive #891

Closed
opened 2026-05-06 13:10:41 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/844
Author: @james-elicx
Created: 4/14/2026
Status: Merged
Merged: 4/14/2026
Merged by: @james-elicx

Base: mainHead: james/react-use-client-hook


📝 Commits (3)

📊 Changes

4 files changed (+54 additions, -4 deletions)

View changed files

📝 packages/vinext/src/server/app-page-boundary-render.ts (+16 -0)
📝 packages/vinext/src/shims/client-hook-error.ts (+8 -4)
📝 tests/app-router.test.ts (+11 -0)
tests/fixtures/app-basic/app/missing-use-client-react-hook/page.tsx (+19 -0)

📄 Description

fixes #834


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/844 **Author:** [@james-elicx](https://github.com/james-elicx) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/14/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `james/react-use-client-hook` --- ### 📝 Commits (3) - [`e2c3a2d`](https://github.com/cloudflare/vinext/commit/e2c3a2d24fce7495eb0ec98a74f84f1555941e85) fix: rewrite error for react hooks without directive - [`d79cb75`](https://github.com/cloudflare/vinext/commit/d79cb75068a4a6cd625f9a3463702bcaf0fb5e91) comments - [`adc75b7`](https://github.com/cloudflare/vinext/commit/adc75b7ea2350818a86a1e819b5679d5b40650df) bonk ### 📊 Changes **4 files changed** (+54 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/server/app-page-boundary-render.ts` (+16 -0) 📝 `packages/vinext/src/shims/client-hook-error.ts` (+8 -4) 📝 `tests/app-router.test.ts` (+11 -0) ➕ `tests/fixtures/app-basic/app/missing-use-client-react-hook/page.tsx` (+19 -0) </details> ### 📄 Description fixes #834 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:10:41 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#891
No description provided.