Title: [19.0.0-next.10] - Setting standalone: true is not equivalent to omitting the standalone option, as the JIT compiler defaults to standalone: false. · Issue #58241 · angular/angular · GitHub
Open Graph Title: [19.0.0-next.10] - Setting standalone: true is not equivalent to omitting the standalone option, as the JIT compiler defaults to standalone: false. · Issue #58241 · angular/angular
X Title: [19.0.0-next.10] - Setting standalone: true is not equivalent to omitting the standalone option, as the JIT compiler defaults to standalone: false. · Issue #58241 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core, compiler Is this a regression? Yes Description Even after recent updates that aimed to make standalone the default, it appears that specifying standalone: true is still necessa...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core, compiler Is this a regression? Yes Description Even after recent updates that aimed to make standalone the default, it appears that spec...
X Description: Which @angular/* package(s) are the source of the bug? core, compiler Is this a regression? Yes Description Even after recent updates that aimed to make standalone the default, it appears that spec...
Opengraph URL: https://github.com/angular/angular/issues/58241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[19.0.0-next.10] - Setting standalone: true is not equivalent to omitting the standalone option, as the JIT compiler defaults to standalone: false.","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncore, compiler\n\n### Is this a regression?\n\nYes\n\n### Description\n\nEven after recent updates that aimed to make standalone the default, it appears that specifying `standalone: true` is still necessary. Without it, when using JIT, the component is treated as non-standalone. This is evident from the CI failures in the CLI, as seen in this action log: https://github.com/angular/angular-cli/actions/runs/11381536444/job/31663165655?pr=28654, where we attempted to remove `standalone: true`.\n\nMoreover, in `@angular/core`, there are still a few places where standalone hasn't been fully adopted as the default setting. This can be observed through various `// TODO: standalone as default value (invert the condition)` comments in the codebase.\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://stackblitz.com/edit/stackblitz-starters-fjryth?file=src%2Fmain.ts\n\n### Please provide the exception or error you saw\nIn JIT components, when `standalone` was omitted, they were treated as non-standalone.\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\nAngular CLI: 19.0.0-next.11\nNode: 20.17.0\nPackage Manager: yarn 1.22.22\nOS: linux x64\n\nAngular: 19.0.0-next.10\n... animations, common, compiler, compiler-cli, core, forms\n... platform-browser, platform-browser-dynamic, router\n\nPackage Version\n---------------------------------------------------------\n@angular-devkit/architect 0.1900.0-next.11\n@angular-devkit/build-angular 19.0.0-next.11\n@angular-devkit/core 19.0.0-next.11\n@angular-devkit/schematics 19.0.0-next.11\n@angular/cli 19.0.0-next.11\n@schematics/angular 19.0.0-next.11\nrxjs 7.8.1\ntypescript 5.6.3\nzone.js 0.15.0\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/alan-agius4","@type":"Person","name":"alan-agius4"},"datePublished":"2024-10-17T09:40:41Z","url":"https://github.com/angular/angular/issues/58241"}
| 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:0b04feb5-53b3-11d1-75ed-4bc8c7ae77bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D54C:B1B84:C74DFF:FC798A:6B0137C1 |
| html-safe-nonce | d96a2f98ca6c72a67d3b10210dcd101bde39bfd04227de2a8e720d24a23c979b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTRDOkIxQjg0OkM3NERGRjpGQzc5OEE6NkIwMTM3QzEiLCJ2aXNpdG9yX2lkIjoiMjUwNTU2NTY2NDY1MjExMzg1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4b61c32ee91928faa5b8893fd5ed5dd90fa62bfbdff2a7ac13919709cd23dbe4 |
| hovercard-subject-tag | issue:2594185201 |
| 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/58241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/993fa64ad9651e450ef92b9e4a92f68e8360a7b12589378a3351186559d7a0cd/angular/angular/issues/58241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/993fa64ad9651e450ef92b9e4a92f68e8360a7b12589378a3351186559d7a0cd/angular/angular/issues/58241 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core, compiler Is this a regression? Yes Description Even after recent updates that aimed to make standalone the default, it appears that spec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alan-agius4 |
| 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