Skip to content

Compile React's runtime paths for Ink natively - #4793

Merged
ctate merged 8 commits into
canaryfrom
ctate/ink-react-native
Dec 5, 2026
Merged

ctate merged 8 commits into
canaryfrom
ctate/ink-react-native

Conversation

@ctate

@ctate ctate commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator
  • Compile the React runtime paths Ink needs natively: constructor prototypes read as live values in typed code, CommonJS whole exports chosen by a short circuit, and dependencies a package requires inside a function.
  • Lower performance.measure.bind(performance, …) as a function value and run the inspector-only console methods as Node does without an inspector.
  • Keep builtin constructor prototypes out of the live-value read.

@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Dec 5, 2026 6:37pm UTC

@vercel-internal-security-reviewer

Copy link
Copy Markdown

Security review details

@ctate
ctate added this pull request to the merge queue Dec 2, 2026
@ctate
ctate removed this pull request from the merge queue due to a manual request Dec 2, 2026
@ctate
ctate added this pull request to the merge queue Dec 5, 2026
Merged via the queue into canary with commit 0762563 Dec 5, 2026
45 checks passed
@ctate
ctate deleted the ctate/ink-react-native branch December 5, 2026 20:33

This branch was successfully deployed

1 active deployment
Preview — a182af98 Deployed Dec 5, 2026 by vercel[bot]
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