René's URL Explorer Experiment


Title: Add `use client` directives to the created mjs wrappers by Andarist · Pull Request #590 · preconstruct/preconstruct · GitHub

Open Graph Title: Add `use client` directives to the created mjs wrappers by Andarist · Pull Request #590 · preconstruct/preconstruct

X Title: Add `use client` directives to the created mjs wrappers by Andarist · Pull Request #590 · preconstruct/preconstruct

Description: fixes bvaughn/react-error-boundary#182 I'm not 100% sure if this should be done at all though. It doesn't solve the case when the directive is in non-entrypoint file.

Open Graph Description: fixes bvaughn/react-error-boundary#182 I'm not 100% sure if this should be done at all though. It doesn't solve the case when the directive is in non-entrypoint file.

X Description: fixes bvaughn/react-error-boundary#182 I'm not 100% sure if this should be done at all though. It doesn't solve the case when the directive is in non-entrypoint file.

Opengraph URL: https://github.com/preconstruct/preconstruct/pull/590

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:046f55de-b500-f614-7771-99788f295766
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB90:46928:10F7D96:17EFB5D:6978D504
html-safe-nonce25339c0aea22c19d4be818109a31c38a1ab3dbea85599537a417bac4a490303f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjkwOjQ2OTI4OjEwRjdEOTY6MTdFRkI1RDo2OTc4RDUwNCIsInZpc2l0b3JfaWQiOiI4Mjc0OTYxNDc5MTk1MjE5MjA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace363810475e91ddfafc7a76032ed91a90c00a65974c8ed8c6ae1153f89b45f3e
hovercard-subject-tagpull_request:1790979626
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/preconstruct/preconstruct/590/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/81706dbc1731540b233ae41c22281db72de787d95a3516ee4b6fb506f6321f06/preconstruct/preconstruct/pull/590
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/81706dbc1731540b233ae41c22281db72de787d95a3516ee4b6fb506f6321f06/preconstruct/preconstruct/pull/590
og:image:altfixes bvaughn/react-error-boundary#182 I'm not 100% sure if this should be done at all though. It doesn't solve the case when the directive is in non-entrypoint file.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndarist
hostnamegithub.com
expected-hostnamegithub.com
None8a71ca1f7ab5436216e1df86f398ef7a51ed3152c90e3f7332fc70cf97fcb9d6
turbo-cache-controlno-preview
go-importgithub.com/preconstruct/preconstruct git https://github.com/preconstruct/preconstruct.git
octolytics-dimension-user_id44863262
octolytics-dimension-user_loginpreconstruct
octolytics-dimension-repository_id156285001
octolytics-dimension-repository_nwopreconstruct/preconstruct
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id156285001
octolytics-dimension-repository_network_root_nwopreconstruct/preconstruct
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
releaseeaed570eead52a9920afef75dc3eb6d826fdc5ef
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpreconstruct%2Fpreconstruct%2Fpull%2F590
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpreconstruct%2Fpreconstruct%2Fpull%2F590
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=preconstruct%2Fpreconstruct
Reloadhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
Reloadhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
Reloadhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
preconstruct https://patch-diff.githubusercontent.com/preconstruct
preconstructhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpreconstruct%2Fpreconstruct
Fork 64 https://patch-diff.githubusercontent.com/login?return_to=%2Fpreconstruct%2Fpreconstruct
Star 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fpreconstruct%2Fpreconstruct
Code https://patch-diff.githubusercontent.com/preconstruct/preconstruct
Issues 50 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/issues
Pull requests 13 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pulls
Actions https://patch-diff.githubusercontent.com/preconstruct/preconstruct/actions
Projects 0 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/projects
Security 0 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/security
Insights https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pulse
Code https://patch-diff.githubusercontent.com/preconstruct/preconstruct
Issues https://patch-diff.githubusercontent.com/preconstruct/preconstruct/issues
Pull requests https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pulls
Actions https://patch-diff.githubusercontent.com/preconstruct/preconstruct/actions
Projects https://patch-diff.githubusercontent.com/preconstruct/preconstruct/projects
Security https://patch-diff.githubusercontent.com/preconstruct/preconstruct/security
Insights https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpreconstruct%2Fpreconstruct%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpreconstruct%2Fpreconstruct%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#issue-comment-box
Andaristhttps://patch-diff.githubusercontent.com/Andarist
mainhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/tree/main
add-use-client-directivest-mjs-wrapperhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/tree/add-use-client-directivest-mjs-wrapper
Add use client directives to the created mjs wrappers https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#top
Andaristhttps://patch-diff.githubusercontent.com/Andarist
mainhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/tree/main
add-use-client-directivest-mjs-wrapperhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/tree/add-use-client-directivest-mjs-wrapper
Conversation 3 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
Commits 1 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/commits
Checks 0 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/checks
Files changed https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/files
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/Andarist
Andaristhttps://patch-diff.githubusercontent.com/Andarist
Mar 26, 2024https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#issue-2207495012
bvaughn/react-error-boundary#182https://github.com/bvaughn/react-error-boundary/issues/182
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
https://patch-diff.githubusercontent.com/Andarist
Add use client directives to the created mjs wrappershttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/commits/985e57f61dba0291f2780ac674a0f1967b7fd4fd
985e57fhttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/commits/985e57f61dba0291f2780ac674a0f1967b7fd4fd
https://patch-diff.githubusercontent.com/Andarist
Andaristhttps://patch-diff.githubusercontent.com/Andarist
emmatownhttps://patch-diff.githubusercontent.com/emmatown
March 26, 2024 07:51https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#event-12245465394
https://patch-diff.githubusercontent.com/apps/changeset-bot
changeset-bothttps://patch-diff.githubusercontent.com/apps/changeset-bot
Mar 26, 2024https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#issuecomment-2019660820
985e57fhttps://github.com/preconstruct/preconstruct/commit/985e57f61dba0291f2780ac674a0f1967b7fd4fd
Click here to learn what changesets are, and how to add onehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add a changeset to this PRhttps://github.com/preconstruct/preconstruct/new/add-use-client-directivest-mjs-wrapper?filename=.changeset/witty-panthers-behave.md&value=---%0A%22%40preconstruct%2Fcli%22%3A%20patch%0A---%0A%0AAdd%20%60use%20client%60%20directives%20to%20the%20created%20mjs%20wrappers%0A
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
https://patch-diff.githubusercontent.com/Andarist
Andaristhttps://patch-diff.githubusercontent.com/Andarist
Mar 26, 2024 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#pullrequestreview-1959558781
View reviewed changes https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/files/985e57f61dba0291f2780ac674a0f1967b7fd4fd
packages/cli/src/build/__tests__/other.tshttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590/files/985e57f61dba0291f2780ac674a0f1967b7fd4fd#diff-dbe7e3a4f2393c1a32ea8ba4a6a666d776ead40355a4bb335e1e13205317c6e0
Andaristhttps://patch-diff.githubusercontent.com/Andarist
Mar 26, 2024https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#discussion_r1538728021
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
https://patch-diff.githubusercontent.com/apps/codecov
codecovhttps://patch-diff.githubusercontent.com/apps/codecov
Mar 26, 2024https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#issuecomment-2019679617
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
Codecovhttps://app.codecov.io/gh/preconstruct/preconstruct/pull/590?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=preconstruct
(9f44a11)https://app.codecov.io/gh/preconstruct/preconstruct/commit/9f44a1184ae83040972032b8af59f80d81c2c88b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=preconstruct
(985e57f)https://app.codecov.io/gh/preconstruct/preconstruct/commit/985e57f61dba0291f2780ac674a0f1967b7fd4fd?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=preconstruct
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/preconstruct/preconstruct/pull/590?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=preconstruct
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=preconstruct
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
https://patch-diff.githubusercontent.com/Andarist
Andaristhttps://patch-diff.githubusercontent.com/Andarist
Mar 26, 2024 https://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590#ref-issue-2206227938
"use client" not appearing in the ESM entry bvaughn/react-error-boundary#182 https://patch-diff.githubusercontent.com/bvaughn/react-error-boundary/issues/182
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpreconstruct%2Fpreconstruct%2Fpull%2F590
https://patch-diff.githubusercontent.com/emmatown
emmatown https://patch-diff.githubusercontent.com/emmatown
"use client" not appearing in the ESM entry https://github.com/bvaughn/react-error-boundary/issues/182
Please reload this pagehttps://patch-diff.githubusercontent.com/preconstruct/preconstruct/pull/590
https://patch-diff.githubusercontent.com/Andarist
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
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.