Skip to content

Fetch Devtools from a CDN in react-lang - #1007

Open
AbhinRustagi wants to merge 5 commits into
mainfrom
abhin/devtools-stack-cdn
Open

Fetch Devtools from a CDN in react-lang#1007
AbhinRustagi wants to merge 5 commits into
mainfrom
abhin/devtools-stack-cdn

Conversation

@AbhinRustagi

@AbhinRustagiAbhinRustagi commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • react-lang fetches the widget from the CDN in development instead of depending on @openuidev/devtools
  • Observability uses a process-wide Symbol.for singleton so the host and the CDN widget share one bus

Test plan

  • next dev still auto-mounts Devtools with no @openuidev/devtools in the app
  • Production build does not fetch the widget
  • Manual <OpenUIDevtools /> still wins over auto-mount

@vercel

vercelBot commented Aug 18, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
openui-docsReadyReadyPreviewAug 21, 2026 11:04am

Request Review

@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from 42caf86 to 66a34d9CompareAugust 18, 2026 12:17
@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from 8a504d1 to 9650cb1CompareAugust 18, 2026 19:52
@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from 9650cb1 to f40495aCompareAugust 18, 2026 20:04
@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from f40495a to 20c7236CompareAugust 18, 2026 20:08
@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from 20c7236 to fe1ebcdCompareAugust 18, 2026 20:09
@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from 43184af to 69fda3bCompareAugust 19, 2026 04:08
@AbhinRustagi
AbhinRustagiforce-pushed the abhin/devtools-stack-cdn branch from 6fd6eb8 to 47847c7CompareAugust 19, 2026 05:40
AbhinRustagiand others added 5 commits August 21, 2026 16:22
Apps pick up widget updates on next reload, and react-lang no longer depends on the Devtools package.
The widget contract takes library refs, not plucked createRoot/createPortal.
Sign up for freeto 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

@AbhinRustagi