Title: components created unnecessarily · Issue #80 · solidjs/solid-refresh · GitHub
Open Graph Title: components created unnecessarily · Issue #80 · solidjs/solid-refresh
X Title: components created unnecessarily · Issue #80 · solidjs/solid-refresh
Description: in the following example, when refreshed, CompB is created more times than it should // ex. App.tsx has single Open Graph Description: in the following example, when refreshed, CompB is created more times than it should // ex. App.tsx has single X Description: in the following example, when refreshed, CompB is created more times than it should // ex. App.tsx has single <CompA/> export const function CompA() { console.log('A'); return <Co...
Opengraph URL: https://github.com/solidjs/solid-refresh/issues/80
X: @github
Domain: patch-diff.githubusercontent.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"components created unnecessarily","articleBody":"in the following example, when refreshed, `CompB` is created more times than it should\n\n```jsx\n// ex. App.tsx has single \u003cCompA/\u003e\nexport const function CompA() {\n console.log('A');\n return \u003cCompB /\u003e;\n}\nfunction CompB() {\n console.log('B');\n return \u003cdiv\u003ehi\u003c/div\u003e;\n}\n```\ninitial run logs `A B`\nfile save, logs `B A B` (or `A B B` if `CompB` initially placed above `CompA`)\n\nIf `CompB` was costly, then this would have an impact of perf.","author":{"url":"https://github.com/derekrjones","@type":"Person","name":"derekrjones"},"datePublished":"2025-10-04T07:29:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/80/solid-refresh/issues/80"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:eeb9ac63-dea4-b111-bac3-a939f98a0be0 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 83A8:22883B:1712E52:1E071A7:6992B107 html-safe-nonce 91ac25241378462b84ffc0bf095354592a0727671f535d9fd13164d94d1f6b3b visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0E4OjIyODgzQjoxNzEyRTUyOjFFMDcxQTc6Njk5MkIxMDciLCJ2aXNpdG9yX2lkIjoiMzU5MTA5MjA2NzEzOTQ5ODI0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 6a0f3f999276c42a8ff1fbd7d98f8267e73dd41e04a20887190a3923712449ee hovercard-subject-tag issue:3483352496 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/solidjs/solid-refresh/80/issue_layout twitter:image https://opengraph.githubassets.com/ae6c8617b8975588889c64c7e36006d88a6c9dbdcf9db9b92a0cc9894b4b5cc8/solidjs/solid-refresh/issues/80 twitter:card summary_large_image og:image https://opengraph.githubassets.com/ae6c8617b8975588889c64c7e36006d88a6c9dbdcf9db9b92a0cc9894b4b5cc8/solidjs/solid-refresh/issues/80 og:image:alt in the following example, when refreshed, CompB is created more times than it should // ex. App.tsx has single og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username derekrjones hostname github.com expected-hostname github.com None 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b turbo-cache-control no-preview go-import github.com/solidjs/solid-refresh git https://github.com/solidjs/solid-refresh.git octolytics-dimension-user_id 79226042 octolytics-dimension-user_login solidjs octolytics-dimension-repository_id 340609080 octolytics-dimension-repository_nwo solidjs/solid-refresh octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 340609080 octolytics-dimension-repository_network_root_nwo solidjs/solid-refresh turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 848bc6032dcc93a9a7301dcc3f379a72ba13b96e ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.