Title: React-wrapped components inside ng-template don't re-render on changes · Issue #5 · microsoft/angular-react · GitHub
Open Graph Title: React-wrapped components inside ng-template don't re-render on changes · Issue #5 · microsoft/angular-react
X Title: React-wrapped components inside ng-template don't re-render on changes · Issue #5 · microsoft/angular-react
Description: When rendering a react-wrapper component (e.g. Open Graph Description: When rendering a react-wrapper component (e.g. X Description: When rendering a react-wrapper component (e.g. <fab-default-button>) as a render prop in another react component, the inner component is not re-rendered on changes. More comprehensive example...
Opengraph URL: https://github.com/microsoft/angular-react/issues/5
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"React-wrapped components inside ng-template don't re-render on changes","articleBody":"When rendering a react-wrapper component (e.g. `\u003cfab-default-button>`) as a render prop in another react component, the inner component is not re-rendered on changes.\r\n\r\nMore comprehensive example:\r\n```html\r\n// app.component.html\r\n\u003cfab-command-bar>\r\n \u003citems>\r\n \u003cfab-command-bar-item key=\"custom\">\r\n \u003crender>\r\n \u003cng-template let-item=\"item\">\r\n \u003ccounter>\u003c/counter>\r\n \u003c/ng-template>\r\n \u003c/render>\r\n \u003c/items>\r\n\u003c/fab-command-bar>\r\n```\r\n```typescript\r\n// counter.component.ts\r\n@Component({\r\n selector: 'counter',\r\n template: `\r\n \u003cfab-default-button [text]=\"count + '+'\" (onClick)=\"onClick()\">\u003c/fab-default-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class CounterComponent {\r\n count = 0;\r\n\r\n constructor(private readonly cd: ChangeDetectorRef) {}\r\n\r\n onClick() {\r\n this.count++;\r\n this.cd.detectChanges();\r\n }\r\n}\r\n```\r\n\r\nWhen clicking the button, the text is not changed.","author":{"url":"https://github.com/bengry","@type":"Person","name":"bengry"},"datePublished":"2018-08-13T11:52:04Z","url":"https://github.com/microsoft/angular-react/issues/5"}
react-profiling 0 react-import-map react,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-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:3eb38c94-5a52-f1db-4acb-a267abb5c03d current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id DA4A:311EEE:B3510E:EFD015:6B00EFA0 html-safe-nonce 9d6955e0205cedbe223c6efb21760e9124b4bc7fe11e52ed6b3547961f2d948d visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTRBOjMxMUVFRTpCMzUxMEU6RUZEMDE1OjZCMDBFRkEwIiwidmlzaXRvcl9pZCI6IjQ4NDU5ODQ2NTA5NTIyNDEwNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac 8ab08883b1bb4119276aa0c4d4117d9cb7ccd75b30231ae19f7a95ba58afce83 hovercard-subject-tag issue:349997762 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/microsoft/angular-react/5/issue_layout twitter:image https://opengraph.githubassets.com/b5c4ccb989ba812809ff378448630180ba5939025c77c7953e5836cbdf07a948/microsoft/angular-react/issues/5 twitter:card summary_large_image og:image https://opengraph.githubassets.com/b5c4ccb989ba812809ff378448630180ba5939025c77c7953e5836cbdf07a948/microsoft/angular-react/issues/5 og:image:alt When rendering a react-wrapper component (e.g. og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username bengry hostname github.com expected-hostname github.com None 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc turbo-cache-control no-preview go-import github.com/microsoft/angular-react git https://github.com/microsoft/angular-react.git octolytics-dimension-user_id 6154722 octolytics-dimension-user_login microsoft octolytics-dimension-repository_id 144321557 octolytics-dimension-repository_nwo microsoft/angular-react octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 144321557 octolytics-dimension-repository_network_root_nwo microsoft/angular-react 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 9983dd5da06943f833c971dd5b6bc988e2858be5 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.