René's URL Explorer Experiment


Title: retain ngOnChanges on signal components · Issue #54372 · angular/angular · GitHub

Open Graph Title: retain ngOnChanges on signal components · Issue #54372 · angular/angular

X Title: retain ngOnChanges on signal components · Issue #54372 · angular/angular

Description: Which @angular/* package(s) are relevant/related to the feature request? core Description it's mentioned in the RFC 3: Signal-based Components that ngOnChanges will not be retained ngOnChanges - is used to observe changes to inputs. As i...

Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? core Description it's mentioned in the RFC 3: Signal-based Components that ngOnChanges will not be retained ngOnChanges - is...

X Description: Which @angular/* package(s) are relevant/related to the feature request? core Description it's mentioned in the RFC 3: Signal-based Components that ngOnChanges will not be retained ngOnChanges ...

Opengraph URL: https://github.com/angular/angular/issues/54372

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"retain ngOnChanges on signal components","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\ncore\n\n### Description\n\nit's mentioned in the [RFC 3: Signal-based Components](https://github.com/angular/angular/discussions/49682) that ngOnChanges  will not be retained\r\n\r\n> ngOnChanges - is used to observe changes to inputs. As inputs are signal-based, computed can be used to derive new values, or effect to react side-effectfully.\r\n\r\nbut there is a limitation of signals compared to the ngOnChanges\r\n1. you can't know if it's the first change or not like how it works now with the `ngOnChanges`\r\n2. you can't get the old values of the input\n\n### Proposed solution\n\nto retain `ngOnChanges` life alongside `ngOnInit` and `ngOnDestroy`\n\n### Alternatives considered\n\nto provide a function that takes signal input and return observable with object from [SimpleChange](https://angular.io/api/core/SimpleChange) class\r\n\r\nI know that pairwise will return the old values, but it won't emit the first value ever, so it's not that easy but I think it's possible","author":{"url":"https://github.com/robertIsaac","@type":"Person","name":"robertIsaac"},"datePublished":"2024-02-10T10:40:09Z","url":"https://github.com/angular/angular/issues/54372"}

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:0707ba58-bf88-e388-7f9b-d0d387796239
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8124:65610:2592FE:31F6CB:6B02300D
html-safe-nonce7f1faa5251ad8022715bba6351aa516e7c3cd88f5772839618ba8cc4c6726cb8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTI0OjY1NjEwOjI1OTJGRTozMUY2Q0I6NkIwMjMwMEQiLCJ2aXNpdG9yX2lkIjoiNDQ5NjcxNTA4ODY0ODA4OTYxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4afb1314bb1093ddc76e29d8726e7876c260f10190648f96d60d3b63b4703e6c
hovercard-subject-tagissue:2128295563
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/angular/angular/54372/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c416ac51dd3e678e52899c451e214966004d9da7190f92c84475826a1e64cb69/angular/angular/issues/54372
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c416ac51dd3e678e52899c451e214966004d9da7190f92c84475826a1e64cb69/angular/angular/issues/54372
og:image:altWhich @angular/* package(s) are relevant/related to the feature request? core Description it's mentioned in the RFC 3: Signal-based Components that ngOnChanges will not be retained ngOnChanges - is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerobertIsaac
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/54372#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F54372
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%2Fissues%2F54372
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=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/54372
Reloadhttps://github.com/angular/angular/issues/54372
Reloadhttps://github.com/angular/angular/issues/54372
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
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/54372
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/54372
retain ngOnChanges on signal componentshttps://github.com/angular/angular/issues/54372#top
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: inputs / outputshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20inputs%20%2F%20outputs%22
core: reactivityWork related to fine-grained reactivity in the core frameworkhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20reactivity%22
cross-cutting: signalshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22cross-cutting%3A%20signals%22
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/robertIsaac
robertIsaachttps://github.com/robertIsaac
on Feb 10, 2024https://github.com/angular/angular/issues/54372#issue-2128295563
RFC 3: Signal-based Componentshttps://github.com/angular/angular/discussions/49682
SimpleChangehttps://angular.io/api/core/SimpleChange
https://github.com/spock123
spock123https://github.com/spock123
on Feb 10, 2024https://github.com/angular/angular/issues/54372#issuecomment-1936972841
https://github.com/robertIsaac
robertIsaachttps://github.com/robertIsaac
on Feb 10, 2024https://github.com/angular/angular/issues/54372#issuecomment-1937357596
@spock123https://github.com/spock123
JeanMechehttps://github.com/JeanMeche
core: inputs / outputshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20inputs%20%2F%20outputs%22
core: reactivityWork related to fine-grained reactivity in the core frameworkhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20reactivity%22
cross-cutting: signalshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22cross-cutting%3A%20signals%22
on Feb 11, 2024https://github.com/angular/angular/issues/54372#event-11765936159
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Feb 12, 2024https://github.com/angular/angular/issues/54372#issuecomment-1938413189
https://github.com/spock123
spock123https://github.com/spock123
on Feb 12, 2024https://github.com/angular/angular/issues/54372#issuecomment-1938447464
@robertIsaachttps://github.com/robertIsaac
https://github.com/robertIsaac
robertIsaachttps://github.com/robertIsaac
on Feb 12, 2024https://github.com/angular/angular/issues/54372#issuecomment-1939707719
@pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
https://github.com/robertIsaac
robertIsaachttps://github.com/robertIsaac
on Feb 12, 2024https://github.com/angular/angular/issues/54372#issuecomment-1939726890
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on Feb 12, 2024https://github.com/angular/angular/issues/54372#issuecomment-1939758624
https://github.com/robertIsaac
robertIsaachttps://github.com/robertIsaac
on Feb 13, 2024https://github.com/angular/angular/issues/54372#issuecomment-1940566809
https://github.com/tomastrajan
tomastrajanhttps://github.com/tomastrajan
on Feb 13, 2024https://github.com/angular/angular/issues/54372#issuecomment-1941927231
https://private-user-images.githubusercontent.com/3764868/304477342-2be8950d-1b5e-4c12-a027-6db1b1dc2421.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUzMDU3ODYsIm5iZiI6MTc5NTMwNTQ4NiwicGF0aCI6Ii8zNzY0ODY4LzMwNDQ3NzM0Mi0yYmU4OTUwZC0xYjVlLTRjMTItYTAyNy02ZGIxYjFkYzI0MjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjM1ODA2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDQyN2E3ODllZTg4YTJkYzhkNGJmMjJjNzU4ZWQ0NTZmZDAxMTAxOWNmYjE5ZTE1ZWMwYWI3YzMyMjc3ODQyOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.TtcqfDwI8bGiqPaJY2lw4y67PnFlFuioVG3PXmh7Ias
@alxhubhttps://github.com/alxhub
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on Feb 13, 2024https://github.com/angular/angular/issues/54372#issuecomment-1942847618
https://github.com/e-oz
e-ozhttps://github.com/e-oz
on Feb 14, 2024https://github.com/angular/angular/issues/54372#issuecomment-1943252942
@robertIsaachttps://github.com/robertIsaac
https://github.com/e-oz
e-ozhttps://github.com/e-oz
on Feb 14, 2024https://github.com/angular/angular/issues/54372#issuecomment-1943325206
do not usehttps://stackblitz.com/edit/stackblitz-starters-8xzgwj?file=src%2Fmain.ts
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Feb 14, 2024https://github.com/angular/angular/issues/54372#issuecomment-1944114035
@robertIsaachttps://github.com/robertIsaac
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Feb 14, 2024https://github.com/angular/angular/issues/54372#issuecomment-1944116273
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Feb 14, 2024https://github.com/angular/angular/issues/54372#issuecomment-1944124004
#54339https://github.com/angular/angular/issues/54339
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Feb 14, 2024https://github.com/angular/angular/issues/54372#event-11803889646
https://github.com/robertIsaac
robertIsaachttps://github.com/robertIsaac
on Feb 16, 2024https://github.com/angular/angular/issues/54372#issuecomment-1947868982
dylhunnhttps://github.com/dylhunn
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
on Feb 27, 2024https://github.com/angular/angular/issues/54372#event-11944330301
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Feb 27, 2024https://github.com/angular/angular/issues/54372#event-11944330480
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on Feb 28, 2024https://github.com/angular/angular/issues/54372#issuecomment-1969302868
alxhubhttps://github.com/alxhub
not plannedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Feb 28, 2024https://github.com/angular/angular/issues/54372#event-11953884001
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 30, 2024https://github.com/angular/angular/issues/54372#issuecomment-2027835257
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 30, 2024https://github.com/angular/angular/issues/54372#event-12299021974
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/54372
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/54372
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: inputs / outputshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20inputs%20%2F%20outputs%22
core: reactivityWork related to fine-grained reactivity in the core frameworkhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20reactivity%22
cross-cutting: signalshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22cross-cutting%3A%20signals%22
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
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.