mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #837] [MERGED] fix(shims): import local navigation module in error boundary #888
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#888
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/837
Author: @NathanDrake2406
Created: 4/14/2026
Status: ✅ Merged
Merged: 4/14/2026
Merged by: @james-elicx
Base:
main← Head:chore/shim-error-boundary📝 Commits (1)
21894a0fix(shims): import local navigation module in error boundary📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
packages/vinext/src/shims/error-boundary.tsx(+3 -2)📄 Description
Summary
The built package can execute
shims/error-boundary.tsxbefore the plugin'sresolveIdhook is active, so the publicnext/navigationalias is not yet registered. Import the local./navigation.jsmodule directly instead.Three-line change extracted from the PR #768 restack; landing independently because it's orthogonal to the layout-persistence feature work.
Stack context
This is the sibling of the PR #768 restack. Not part of the 6-PR stack; open on its own.
Test plan
vp checkon the shim fileexamples/that the error boundary still renders when thrown🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.