René's URL Explorer Experiment


Title: Help Request: React component is checking for a prop when it is created, but the prop doesn't appear to be supplied until later · Issue #124 · microsoft/angular-react · GitHub

Open Graph Title: Help Request: React component is checking for a prop when it is created, but the prop doesn't appear to be supplied until later · Issue #124 · microsoft/angular-react

X Title: Help Request: React component is checking for a prop when it is created, but the prop doesn't appear to be supplied until later · Issue #124 · microsoft/angular-react

Description: Hi! I'm trying to create a wrapper around a React component to use within Angular. I haven't done much with React before, so that side of things is quite new to me. I'm getting an error that a prop is required, but I am supplying that pr...

Open Graph Description: Hi! I'm trying to create a wrapper around a React component to use within Angular. I haven't done much with React before, so that side of things is quite new to me. I'm getting an error that a prop...

X Description: Hi! I'm trying to create a wrapper around a React component to use within Angular. I haven't done much with React before, so that side of things is quite new to me. I'm getting an error...

Opengraph URL: https://github.com/microsoft/angular-react/issues/124

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Help Request: React component is checking for a prop when it is created, but the prop doesn't appear to be supplied until later","articleBody":"Hi!\r\n\r\nI'm trying to create a wrapper around a React component to use within Angular. I haven't done much with React before, so that side of things is quite new to me.\r\n\r\nI'm getting an error that a prop is required, but I am supplying that prop.\r\n\r\nI had a look and the component is expecting a prop to be set when it is created. However it appears that in Angular-React, the property is supplied later.\r\n\r\nThe component still works, but it logs a whole lot of errors before it starts working.\r\n\r\nThe error is like this:\r\n\r\n```\r\nERROR TypeError: MyReactComponent requires a fetch function.\r\n    at new MyReactComponent (MyReactComponent.js:114)\r\n```\r\n\r\nThe code that is throwing the error is this:\r\n\r\n```\r\nif (typeof props.fetch !== 'function') {\r\n  throw new TypeError('MyReactComponent requires a fetch function.');\r\n}\r\n```\r\n\r\nIn my template I have (This is slightly simplified, there are multiple related components in there)\r\n\r\n```\r\n\u003cdiv #reactNode className=\"myreactcomponent-container\">\r\n    \u003cMyReactComponent [fetch]=\"fetch\">\u003c/MyReactComponent>\r\n\u003c/div>\r\n```\r\n\r\nAnd fetch is a function in the class (and it is being called)\r\n\r\n\r\nSo I am just wondering if I am doing anything incorrectly, or is there a way I can supply the fetch prop earlier on to avoid the error?\r\n\r\nThanks!\r\n\r\nRyan","author":{"url":"https://github.com/RyanHow","@type":"Person","name":"RyanHow"},"datePublished":"2019-06-11T02:56:27Z","url":"https://github.com/microsoft/angular-react/issues/124"}

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:aa95c944-02fa-4c11-a0d4-f6f316bbaf1e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB1E:240CD1:98B393:C42B01:6B00EFC1
html-safe-noncee8d50ff0960e81a2af8d312a2be9be6e26fe5095fef7f015ac4cfae5906ba8e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjFFOjI0MENEMTo5OEIzOTM6QzQyQjAxOjZCMDBFRkMxIiwidmlzaXRvcl9pZCI6IjU4MTk1MjU4MzI4MjkzNjYyMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace384ce8f6f010d6919335bf4580b55e1e727d8d4c61a49494abc97a270edc80a
hovercard-subject-tagissue:454457230
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/microsoft/angular-react/124/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ab9520639dcf149780dbeba6e82a10749300ddbc2694ada85d466d4210626f6/microsoft/angular-react/issues/124
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ab9520639dcf149780dbeba6e82a10749300ddbc2694ada85d466d4210626f6/microsoft/angular-react/issues/124
og:image:altHi! I'm trying to create a wrapper around a React component to use within Angular. I haven't done much with React before, so that side of things is quite new to me. I'm getting an error that a prop...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRyanHow
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/microsoft/angular-react git https://github.com/microsoft/angular-react.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id144321557
octolytics-dimension-repository_nwomicrosoft/angular-react
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id144321557
octolytics-dimension-repository_network_root_nwomicrosoft/angular-react
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/angular-react/issues/124#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fangular-react%2Fissues%2F124
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%2Fmicrosoft%2Fangular-react%2Fissues%2F124
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=microsoft%2Fangular-react
Reloadhttps://github.com/microsoft/angular-react/issues/124
Reloadhttps://github.com/microsoft/angular-react/issues/124
Reloadhttps://github.com/microsoft/angular-react/issues/124
microsofthttps://github.com/microsoft
angular-reacthttps://github.com/microsoft/angular-react
Codehttps://github.com/microsoft/angular-react
Issues25 (25)https://github.com/microsoft/angular-react/issues
Pull requests30 (30)https://github.com/microsoft/angular-react/pulls
Actionshttps://github.com/microsoft/angular-react/actions
Projectshttps://github.com/microsoft/angular-react/projects
Wikihttps://github.com/microsoft/angular-react/wiki
Security and qualityhttps://github.com/microsoft/angular-react/security
Insightshttps://github.com/microsoft/angular-react/insights
https://github.com/microsoft/angular-react
Help Request: React component is checking for a prop when it is created, but the prop doesn't appear to be supplied until laterhttps://github.com/microsoft/angular-react/issues/124#top
https://github.com/aarongreenwald
stalehttps://github.com/microsoft/angular-react/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/RyanHow
Ryan How (RyanHow)https://github.com/RyanHow
on Jun 11, 2019https://github.com/microsoft/angular-react/issues/124#issue-454457230
https://github.com/aarongreenwald
Aaron Greenwald (aarongreenwald)https://github.com/aarongreenwald
on Jun 12, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-501291900
https://github.com/aarongreenwald
Aaron Greenwald (aarongreenwald)https://github.com/aarongreenwald
on Jun 12, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-501292466
Aaron Greenwald (aarongreenwald)https://github.com/aarongreenwald
on Jun 12, 2019https://github.com/microsoft/angular-react/issues/124#event-2407520714
https://github.com/RyanHow
Ryan How (RyanHow)https://github.com/RyanHow
on Jun 13, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-501501557
…https://github.com/microsoft/angular-react/issues/124
@componenthttps://github.com/component
@ViewChildhttps://github.com/ViewChild
@inputhttps://github.com/input
@inputhttps://github.com/input
@inputhttps://github.com/input
@inputhttps://github.com/input
@inputhttps://github.com/input
@inputhttps://github.com/input
@inputhttps://github.com/input
@outputhttps://github.com/output
@outputhttps://github.com/output
#124 (comment)https://github.com/microsoft/angular-react/issues/124#issuecomment-501291900
https://github.com/RyanHow
Ryan How (RyanHow)https://github.com/RyanHow
on Jun 19, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-503433703
https://github.com/RyanHow
Ryan How (RyanHow)https://github.com/RyanHow
on Jun 20, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-503801682
https://github.com/RyanHow
Ryan How (RyanHow)https://github.com/RyanHow
on Jun 20, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-503802364
https://github.com/apps/stale
stalehttps://github.com/apps/stale
on Aug 19, 2019https://github.com/microsoft/angular-react/issues/124#issuecomment-522379165
stalehttps://github.com/apps/stale
stalehttps://github.com/microsoft/angular-react/issues?q=state%3Aopen%20label%3A%22stale%22
on Aug 19, 2019https://github.com/microsoft/angular-react/issues/124#event-2564808269
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/angular-react/issues/124
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/angular-react/issues/124
Aaron Greenwald (aarongreenwald)https://github.com/aarongreenwald
stalehttps://github.com/microsoft/angular-react/issues?q=state%3Aopen%20label%3A%22stale%22
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.