René's URL Explorer Experiment


Title: Experimental Resource API by alxhub · Pull Request #58255 · angular/angular · GitHub

Open Graph Title: Experimental Resource API by alxhub · Pull Request #58255 · angular/angular

X Title: Experimental Resource API by alxhub · Pull Request #58255 · angular/angular

Description: Implement a new experimental API, called resource(). Resources are asynchronous dependencies that are managed and delivered through the signal graph. Resources are defined by their reactive request function and their asynchronous loader, which retrieves the value of the resource for a given request value. For example, a "current user" resource may retrieve data for the current user, where the request function derives the API call to make from a signal of the current user id. Resources are represented by the Resource type, which includes signals for the resource's current value as well as its state. WritableResource extends that type to allow for local mutations of the resource through its value signal (which is therefore two-way bindable). Also, implementations of an rxjs-interop APIs which produce Resources from RxJS Observables. rxResource() is a flavor of resource() which uses a projection to an Observable as its loader (like switchMap).

Open Graph Description: Implement a new experimental API, called resource(). Resources are asynchronous dependencies that are managed and delivered through the signal graph. Resources are defined by their reactive request...

X Description: Implement a new experimental API, called resource(). Resources are asynchronous dependencies that are managed and delivered through the signal graph. Resources are defined by their reactive request...

Opengraph URL: https://github.com/angular/angular/pull/58255

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:afa53679-aa6b-aafb-027c-63eb9491276b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D58:3D97C8:31E63AC:426AB8A:6B01ED07
html-safe-nonce55b2dd683cc18f946241063ba6ee322105cd358fcd78e9ee62f0c18eaa4198d5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDU4OjNEOTdDODozMUU2M0FDOjQyNkFCOEE6NkIwMUVEMDciLCJ2aXNpdG9yX2lkIjoiNjU4ODE4NTAxNDQxOTE4ODk5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd7165858243b0fc88736ee43665963d261f4144ec8fefc344fd504ef594fb2f5
hovercard-subject-tagpull_request:2131254777
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/pull/58255/files
twitter:imagehttps://avatars.githubusercontent.com/u/4175141?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4175141?s=400&v=4
og:image:altImplement a new experimental API, called resource(). Resources are asynchronous dependencies that are managed and delivered through the signal graph. Resources are defined by their reactive request...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/58255/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F58255%2Ffiles
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%2Fangular%2Fangular%2Fpull%2F58255%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/58255/files
Reloadhttps://github.com/angular/angular/pull/58255/files
Reloadhttps://github.com/angular/angular/pull/58255/files
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests142 (142)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
alxhubhttps://github.com/alxhub
angular:mainhttps://github.com/angular/angular/tree/main
alxhub:experimental/resource/implhttps://github.com/alxhub/angular/tree/experimental/resource/impl
Conversation 76 https://github.com/angular/angular/pull/58255
Commits 3 https://github.com/angular/angular/pull/58255/commits
Checks 0 https://github.com/angular/angular/pull/58255/checks
Files changed https://github.com/angular/angular/pull/58255/files
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
Experimental Resource API https://github.com/angular/angular/pull/58255/files#top
Show all changes 3 commits https://github.com/angular/angular/pull/58255/files
89398fe refactor(core): avoid removing pending tasks twice alxhub Oct 17, 2024 https://github.com/angular/angular/pull/58255/commits/89398fe22504e42923855348480abe43888aa9fc
0f33839 feat(core): experimental `resource()` API for async dependencies alxhub Oct 12, 2024 https://github.com/angular/angular/pull/58255/commits/0f33839e57ab97fac9cfc1f09d94724c321c53be
d1bd8ae feat(core): experimental impl of `rxResource()` alxhub Oct 12, 2024 https://github.com/angular/angular/pull/58255/commits/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e
Clear filters https://github.com/angular/angular/pull/58255/files
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
index.api.md https://github.com/angular/angular/pull/58255/files#diff-a7621e4b50059e7a08c54943489143cc49e54a20c42f38e2dfa391465bca0ab9
index.api.md https://github.com/angular/angular/pull/58255/files#diff-c2fcf942659ce045ba1d398f027a4ec8638509acda5f334ccf4291e225ed85cc
index.ts https://github.com/angular/angular/pull/58255/files#diff-57a4545a81858a3f574645b2d46d8835479e8da9c462466ad3b47b50020142b5
rx_resource.ts https://github.com/angular/angular/pull/58255/files#diff-4a14ecd459168226cf57bc225aadce4c88de98982bb907b8b1aaccd528bd2fbd
rx_resource_spec.ts https://github.com/angular/angular/pull/58255/files#diff-863f4ad1eb040bd22eb938f117df470a5d6a0dc31cf894a93df93b1ac568a73a
core.ts https://github.com/angular/angular/pull/58255/files#diff-f63fb32fca85d8e177d6400ce078818a4815b80ac7a3319b60d3507354890992
pending_tasks.ts https://github.com/angular/angular/pull/58255/files#diff-eea6fa6f919bc626d51905b71e0ca8783d1dc627a36b7b0fd3058e3c3d52632b
api.ts https://github.com/angular/angular/pull/58255/files#diff-8182d3d1c5f1224cd109969446903a655ba093e4a1c3011be680b70c578b903e
index.ts https://github.com/angular/angular/pull/58255/files#diff-6b73a296554a37a70ba1078b4c5dac9ad6130458dca4e981b0b4a3068b4bde91
resource.ts https://github.com/angular/angular/pull/58255/files#diff-16f6b7cc4c4e69b511c8312d38c6cf71c412e6f1d6ac9092054c0f349215cded
bundle.golden_symbols.json https://github.com/angular/angular/pull/58255/files#diff-8fc5bf996c8481f2e48e54e8af85f08e8e07e6ab829754ec8fcd5020ee1a0d63
BUILD.bazel https://github.com/angular/angular/pull/58255/files#diff-56ad73c66f409238d8d3c8e06377d3dc0d3ab11bf9c3e79f05154ef52196e5fd
resource_spec.ts https://github.com/angular/angular/pull/58255/files#diff-44ce2a734cb36b459d59d047d7f6d31bce24030489ee3e22a97c8eb2a191e08e
goldens/public-api/core/index.api.mdhttps://github.com/angular/angular/pull/58255/files#diff-a7621e4b50059e7a08c54943489143cc49e54a20c42f38e2dfa391465bca0ab9
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/goldens/public-api/core/index.api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
https://github.com/angular/angular/pull/58255/files#diff-a7621e4b50059e7a08c54943489143cc49e54a20c42f38e2dfa391465bca0ab9
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
flensrockerhttps://github.com/flensrocker
Oct 19, 2024https://github.com/angular/angular/pull/58255/files#r1807197084
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
alxhubhttps://github.com/alxhub
Oct 21, 2024https://github.com/angular/angular/pull/58255/files#r1809415806
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
https://github.com/angular/angular/pull/58255/files#diff-a7621e4b50059e7a08c54943489143cc49e54a20c42f38e2dfa391465bca0ab9
https://github.com/angular/angular/pull/58255/files#diff-a7621e4b50059e7a08c54943489143cc49e54a20c42f38e2dfa391465bca0ab9
https://github.com/angular/angular/pull/58255/files#diff-a7621e4b50059e7a08c54943489143cc49e54a20c42f38e2dfa391465bca0ab9
goldens/public-api/core/rxjs-interop/index.api.mdhttps://github.com/angular/angular/pull/58255/files#diff-c2fcf942659ce045ba1d398f027a4ec8638509acda5f334ccf4291e225ed85cc
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/goldens/public-api/core/rxjs-interop/index.api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
https://github.com/angular/angular/pull/58255/files#diff-c2fcf942659ce045ba1d398f027a4ec8638509acda5f334ccf4291e225ed85cc
https://github.com/angular/angular/pull/58255/files#diff-c2fcf942659ce045ba1d398f027a4ec8638509acda5f334ccf4291e225ed85cc
https://github.com/angular/angular/pull/58255/files#diff-c2fcf942659ce045ba1d398f027a4ec8638509acda5f334ccf4291e225ed85cc
packages/core/rxjs-interop/src/index.tshttps://github.com/angular/angular/pull/58255/files#diff-57a4545a81858a3f574645b2d46d8835479e8da9c462466ad3b47b50020142b5
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/packages/core/rxjs-interop/src/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
https://github.com/angular/angular/pull/58255/files#diff-57a4545a81858a3f574645b2d46d8835479e8da9c462466ad3b47b50020142b5
packages/core/rxjs-interop/src/rx_resource.tshttps://github.com/angular/angular/pull/58255/files#diff-4a14ecd459168226cf57bc225aadce4c88de98982bb907b8b1aaccd528bd2fbd
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/packages/core/rxjs-interop/src/rx_resource.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
manfredsteyerhttps://github.com/manfredsteyer
Oct 20, 2024https://github.com/angular/angular/pull/58255/files#r1807945720
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
alxhubhttps://github.com/alxhub
Oct 21, 2024https://github.com/angular/angular/pull/58255/files#r1809418985
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@manfredsteyerhttps://github.com/manfredsteyer
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
manfredsteyerhttps://github.com/manfredsteyer
Oct 22, 2024https://github.com/angular/angular/pull/58255/files#r1811080579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@alxhubhttps://github.com/alxhub
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
manfredsteyerhttps://github.com/manfredsteyer
Oct 20, 2024https://github.com/angular/angular/pull/58255/files#r1807944903
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
packages/core/rxjs-interop/test/rx_resource_spec.tshttps://github.com/angular/angular/pull/58255/files#diff-863f4ad1eb040bd22eb938f117df470a5d6a0dc31cf894a93df93b1ac568a73a
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/packages/core/rxjs-interop/test/rx_resource_spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
packages/core/src/core.tshttps://github.com/angular/angular/pull/58255/files#diff-f63fb32fca85d8e177d6400ce078818a4815b80ac7a3319b60d3507354890992
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/packages/core/src/core.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
https://github.com/angular/angular/pull/58255/files#diff-f63fb32fca85d8e177d6400ce078818a4815b80ac7a3319b60d3507354890992
https://github.com/angular/angular/pull/58255/files#diff-f63fb32fca85d8e177d6400ce078818a4815b80ac7a3319b60d3507354890992
packages/core/src/pending_tasks.tshttps://github.com/angular/angular/pull/58255/files#diff-eea6fa6f919bc626d51905b71e0ca8783d1dc627a36b7b0fd3058e3c3d52632b
View file https://github.com/alxhub/angular/blob/d1bd8ae4ecb08a0bafd224832759c13b9d7b2e1e/packages/core/src/pending_tasks.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/58255/{{ revealButtonHref }}
https://github.com/angular/angular/pull/58255/files#diff-eea6fa6f919bc626d51905b71e0ca8783d1dc627a36b7b0fd3058e3c3d52632b
https://github.com/angular/angular/pull/58255/files#diff-eea6fa6f919bc626d51905b71e0ca8783d1dc627a36b7b0fd3058e3c3d52632b
https://github.com/angular/angular/pull/58255/files#diff-eea6fa6f919bc626d51905b71e0ca8783d1dc627a36b7b0fd3058e3c3d52632b
https://github.com/angular/angular/pull/58255/files#diff-eea6fa6f919bc626d51905b71e0ca8783d1dc627a36b7b0fd3058e3c3d52632b
Please reload this pagehttps://github.com/angular/angular/pull/58255/files
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.