René's URL Explorer Experiment


Title: @void/react: a non-island component under an _-prefixed directory in pages/ ships every page module to the browser · Issue #575 · voidzero-dev/void · GitHub

Open Graph Title: @void/react: a non-island component under an _-prefixed directory in pages/ ships every page module to the browser · Issue #575 · voidzero-dev/void

X Title: @void/react: a non-island component under an _-prefixed directory in pages/ ships every page module to the browser · Issue #575 · voidzero-dev/void

Description: Version: void / @void/react 1.2.1 (also 1.1.12); main at a6de782. Repro pnpm create void (React, static output: output: 'static' in void.config.ts). pages/index.island.tsx: import { Frame } from './_ui/frame'; export default function Hom...

Open Graph Description: Version: void / @void/react 1.2.1 (also 1.1.12); main at a6de782. Repro pnpm create void (React, static output: output: 'static' in void.config.ts). pages/index.island.tsx: import { Frame } from '....

X Description: Version: void / @void/react 1.2.1 (also 1.1.12); main at a6de782. Repro pnpm create void (React, static output: output: 'static' in void.config.ts). pages/index.island.tsx: import { Frame }...

Opengraph URL: https://github.com/voidzero-dev/void/issues/575

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@void/react: a non-island component under an _-prefixed directory in pages/ ships every page module to the browser","articleBody":"**Version:** void / @void/react 1.2.1 (also 1.1.12); `main` at a6de7829.\n\n**Repro**\n1. `pnpm create void` (React, static output: `output: 'static'` in `void.config.ts`).\n2. `pages/index.island.tsx`:\n   ```tsx\n   import { Frame } from './_ui/frame';\n   export default function Home() { return \u003cFrame>\u003ch1>Hello\u003c/h1>\u003c/Frame>; }\n   ```\n3. `pages/_ui/frame.tsx`, a shared server-only component that is not a page or an island:\n   ```tsx\n   export const SECRET_COPY = 'server-only text';\n   export function Frame({ children }: { children: React.ReactNode }) {\n     return \u003cmain data-x={SECRET_COPY}>{children}\u003c/main>;\n   }\n   ```\n4. `vp build`, then `ls dist/client/assets` and `grep -l 'server-only text' dist/client/assets/*.js`.\n\n**Expected:** an island-only app emits no `pages-client` bundle, and `frame.tsx` (not a route, because the route scanner skips `_` segments) never reaches `dist/client`.\n\n**Actual:** `pages-client-*.js` plus a chunk for every page module and every import (`frame-*.js`) are emitted to `dist/client/assets`, and the server-only strings are in them. In our app that is 18 files and 351 KB instead of 5 files and 33 KB, and 42 strings that were meant to stay server-side.\n\n**Cause:** `packages/react/src/plugin-pages.ts` `hasNonIslandPages()` skips only basenames that start with `_`:\n```ts\nif (name.startsWith('_') || name.startsWith('layout.')) continue;\n```\n`entry.name` for `pages/_ui/frame.tsx` is `frame.tsx`. The pages scanner (`scan.ts`) skips any segment that starts with `_` (except `_layouts`), so the two disagree. The Solid plugin has the same check.\n\n**Suggested fix:** test every path segment relative to `dir`, as the scanner does:\n```ts\nconst rel = relative(dir, join(entry.parentPath, name));\nif (rel.split(sep).some((s) => s.startsWith('_')) || name.startsWith('layout.')) continue;\n```\nThis is adjacent to #559, which adds the `.server.` exclusion to the same line.\n","author":{"url":"https://github.com/gopalpatel","@type":"Person","name":"gopalpatel"},"datePublished":"2026-10-24T13:32:14Z","url":"https://github.com/voidzero-dev/void/issues/575"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6e4b6902-e191-670b-65ee-110ef472c01a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9904:33F13D:A5259C:E214E1:6AFBDD30
html-safe-nonce5cec172feac1aa7cdd444a1b5b70a8a672803be3cb16cc98cf44beadbabdee9c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTA0OjMzRjEzRDpBNTI1OUM6RTIxNEUxOjZBRkJERDMwIiwidmlzaXRvcl9pZCI6IjY5MTQzMjkwMTE0ODY2MzA4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5cfaa2394b89fd73bfc03c86483093764ae4e48665e7212ea7da6b1de1af2bb7
hovercard-subject-tagissue:6013467663
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/575/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fc048a86e34583747d6499358d4de3e808d8bc48272305762fbe0ba69f897edf/voidzero-dev/void/issues/575
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fc048a86e34583747d6499358d4de3e808d8bc48272305762fbe0ba69f897edf/voidzero-dev/void/issues/575
og:image:altVersion: void / @void/react 1.2.1 (also 1.1.12); main at a6de782. Repro pnpm create void (React, static output: output: 'static' in void.config.ts). pages/index.island.tsx: import { Frame } from '....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegopalpatel
hostnamegithub.com
expected-hostnamegithub.com
None744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec
turbo-cache-controlno-preview
go-importgithub.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git
octolytics-dimension-user_id149750581
octolytics-dimension-user_loginvoidzero-dev
octolytics-dimension-repository_id1164437080
octolytics-dimension-repository_nwovoidzero-dev/void
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1164437080
octolytics-dimension-repository_network_root_nwovoidzero-dev/void
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedf859c48a4c8b4c0009c19bb4e82101aacb4b998
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/voidzero-dev/void/issues/575#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F575
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F575
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=voidzero-dev%2Fvoid
Reloadhttps://github.com/voidzero-dev/void/issues/575
Reloadhttps://github.com/voidzero-dev/void/issues/575
Reloadhttps://github.com/voidzero-dev/void/issues/575
voidzero-devhttps://github.com/voidzero-dev
voidhttps://github.com/voidzero-dev/void
Codehttps://github.com/voidzero-dev/void
Issues31 (31)https://github.com/voidzero-dev/void/issues
Pull requests10 (10)https://github.com/voidzero-dev/void/pulls
Discussionshttps://github.com/voidzero-dev/void/discussions
Actionshttps://github.com/voidzero-dev/void/actions
Security and qualityhttps://github.com/voidzero-dev/void/security
Insightshttps://github.com/voidzero-dev/void/pulse
https://github.com/voidzero-dev/void
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/575
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/575
#603https://github.com/voidzero-dev/void/pull/603
@void/react: a non-island component under an _-prefixed directory in pages/ ships every page module to the browserhttps://github.com/voidzero-dev/void/issues/575#top
#603https://github.com/voidzero-dev/void/pull/603
https://github.com/gopalpatel
gopalpatelhttps://github.com/gopalpatel
on Oct 24, 2026https://github.com/voidzero-dev/void/issues/575#issue-6013467663
a6de782https://github.com/voidzero-dev/void/commit/a6de7829bff8e39d54ac32ad50d220093b21c6ad
#559https://github.com/voidzero-dev/void/pull/559
cpojerhttps://github.com/cpojer
completedhttps://github.com/voidzero-dev/void/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#603https://github.com/voidzero-dev/void/pull/603
on Oct 27, 2026https://github.com/voidzero-dev/void/issues/575#event-34318280500
Thegreatsurahttps://github.com/Thegreatsura
on Oct 27, 2026https://github.com/voidzero-dev/void/issues/575#event-34330178597
fix(pages): exclude private helpers from the client entry decision (v…https://github.com/Thegreatsura/void/commit/d87ad4ef392f09fe7a573bc2f75418a0294d85e7
v…https://github.com/voidzero-dev/void/pull/603
https://docs.github.com/articles/closing-issues-via-commit-messages
d87ad4ehttps://github.com/Thegreatsura/void/commit/d87ad4ef392f09fe7a573bc2f75418a0294d85e7
Sign up for freehttps://github.com/signup?return_to=https://github.com/voidzero-dev/void/issues/575
Sign in to commenthttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/575
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.