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

@AbhinRustagi AbhinRustagi 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

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
openui-docs Ready Ready Preview Aug 22, 2026 1:28pm

Request Review

@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from 42caf86 to 66a34d9 Compare August 18, 2026 12:17
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from 8a504d1 to 9650cb1 Compare August 18, 2026 19:52
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from 9650cb1 to f40495a Compare August 18, 2026 20:04
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from f40495a to 20c7236 Compare August 18, 2026 20:08
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from 20c7236 to fe1ebcd Compare August 18, 2026 20:09
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from 43184af to 69fda3b Compare August 19, 2026 04:08
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-cdn branch from 6fd6eb8 to 47847c7 Compare August 19, 2026 05:40
AbhinRustagi and others added 5 commits August 22, 2026 18:55
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 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