Title: Allow custom decorators that use lifecycle hooks in AoT - these are our version of hooks, but we can't use them · Issue #30497 · angular/angular · GitHub
Open Graph Title: Allow custom decorators that use lifecycle hooks in AoT - these are our version of hooks, but we can't use them · Issue #30497 · angular/angular
X Title: Allow custom decorators that use lifecycle hooks in AoT - these are our version of hooks, but we can't use them · Issue #30497 · angular/angular
Description: When writing a custom decorator, lifecycle methods you patch are removed in AoT because the compiler doesn't check that custom decorators are using them. This results in an inability to create custom decorators with any meaningful compon...
Open Graph Description: When writing a custom decorator, lifecycle methods you patch are removed in AoT because the compiler doesn't check that custom decorators are using them. This results in an inability to create cust...
X Description: When writing a custom decorator, lifecycle methods you patch are removed in AoT because the compiler doesn't check that custom decorators are using them. This results in an inability to create ...
Opengraph URL: https://github.com/angular/angular/issues/30497
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow custom decorators that use lifecycle hooks in AoT - these are our version of hooks, but we can't use them","articleBody":"When writing a custom decorator, lifecycle methods you patch are removed in AoT because the compiler doesn't check that custom decorators are using them.\r\n\r\nThis results in an inability to create custom decorators with any meaningful component specific behaviour.\r\n\r\nReact uses hooks to help patch into setup/teardown of your functional components, decorators are Angulars form of hooks. It would be super useful to have this functionality in Angular.","author":{"url":"https://github.com/alshdavid","@type":"Person","name":"alshdavid"},"datePublished":"2019-05-15T23:55:09Z","url":"https://github.com/angular/angular/issues/30497"}
| 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:40585a36-c10e-82ab-984c-af37fa3a0b36 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD64:91CF4:19CCA8D:221DB38:6B01432C |
| html-safe-nonce | b71c39a5f9d2008083db938cdf20587381b9b17be07e62df2bd50ae11648117d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDY0OjkxQ0Y0OjE5Q0NBOEQ6MjIxREIzODo2QjAxNDMyQyIsInZpc2l0b3JfaWQiOiI1MTQ4MjcwODg2Mzc4MDUzNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 49e118297268225f0b25a0b04328a5632d5d7ecf92eb893b427d6be48c3ebb3c |
| hovercard-subject-tag | issue:444694161 |
| 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/angular/angular/30497/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2054b482c07618d74bcbf08e725f16df6dd3ba7f4c0f745aea14e9134c91f2b7/angular/angular/issues/30497 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2054b482c07618d74bcbf08e725f16df6dd3ba7f4c0f745aea14e9134c91f2b7/angular/angular/issues/30497 |
| og:image:alt | When writing a custom decorator, lifecycle methods you patch are removed in AoT because the compiler doesn't check that custom decorators are using them. This results in an inability to create cust... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alshdavid |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width