Skip to content

Replace CodeSandbox embeds with self-hosted examples - #2918

Merged
zoontek merged 1 commit into
0.22-devfrom
remove-codesandbox
Oct 20, 2026
Merged

zoontek merged 1 commit into
0.22-devfrom
remove-codesandbox

Conversation

@zoontek

@zoontek zoontek commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Important

This PR targets the 0.22-dev branch

Removes CodeSandbox and serves the examples app from the docs site.

  • The examples app (still Next.js) is built as a static export. The docs build copies it to /react-native-web/examples/.
  • The doc pages embed the hosted examples. Each embed has a "View source" link to the example file at the release tag.
  • Adds .nojekyll to the docs output. Without it, GitHub Pages (legacy Jekyll build) drops the _next folder.
  • Deletes .codesandbox/ci.json and sandbox.config.json, and removes the CodeSandbox links from the README, the setup docs and the bug report template.

The live site changes only at the next release, because the docs deploy from the release script.

@zoontek
zoontek requested a review from Kudo October 20, 2026 09:30
@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 134 kB

compressed-size-action

@zoontek
zoontek merged commit 2a499aa into 0.22-dev Oct 20, 2026
5 checks passed
@zoontek
zoontek deleted the remove-codesandbox branch October 20, 2026 10:30
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.

2 participants