Title: Components not rendered when added to other components when Ivy is enabled · Issue #31570 · angular/angular · GitHub
Open Graph Title: Components not rendered when added to other components when Ivy is enabled · Issue #31570 · angular/angular
X Title: Components not rendered when added to other components when Ivy is enabled · Issue #31570 · angular/angular
Description: 🐞 bug report Description I created a new project with —enableIvy flag. Worked fine until I created a new component using the cli, and added the component to the app component, while the app was being served. On live reload the new compon...
Open Graph Description: 🐞 bug report Description I created a new project with —enableIvy flag. Worked fine until I created a new component using the cli, and added the component to the app component, while the app was bei...
X Description: 🐞 bug report Description I created a new project with —enableIvy flag. Worked fine until I created a new component using the cli, and added the component to the app component, while the app was bei...
Opengraph URL: https://github.com/angular/angular/issues/31570
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Components not rendered when added to other components when Ivy is enabled","articleBody":"# 🐞 bug report\r\n\r\n### Description\r\n\r\nI created a new project with `—enableIvy` flag. Worked fine until I created a new component using the cli, and added the component to the app component, while the app was being served. On live reload the new component was not rendered, although the dev tools showed that it was there. So I had to “re-serve” the app for the new component to appear in the app.\r\nMoreover, when I created another new component and also added it to the app component, all the components added to the app component disappeared. Again I had to restart the app for all the components to be displayed.\r\n\r\n## 🔬 Minimal Reproduction\r\n1. `ng new test-app —enable-ivy`\r\n2. `ng g c test`\r\n3. `ng s`\r\n4. paste test component element into the app component template, like so `\u003capp-test>\u003capp-test>`, and save.\r\n5. check out the tab with your app in your favorite browser\r\n\r\n## 🔥 Exception or Error\r\nDev tools as well as the cli don’t show any errors.\r\n\r\n\r\n## 🌍 Your Environment\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 8.1.1\r\nNode: 10.15.2\r\nOS: darwin x64\r\nAngular: 8.1.1\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.801.1\r\n@angular-devkit/build-angular 0.801.1\r\n@angular-devkit/build-optimizer 0.801.1\r\n@angular-devkit/build-webpack 0.801.1\r\n@angular-devkit/core 8.1.1\r\n@angular-devkit/schematics 8.1.1\r\n@ngtools/webpack 8.1.1\r\n@schematics/angular 8.1.1\r\n@schematics/update 0.801.1\r\nrxjs 6.4.0\r\ntypescript 3.4.5\r\nwebpack 4.35.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nUsing MacBook Pro Early 2011, OS: HighSierra 10.13.6, IDE: VSCode, terminal: bash\r\n\u003c!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. -->\r\n\r\n\u003c!-- ✍️Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below. -->\r\n","author":{"url":"https://github.com/rip222","@type":"Person","name":"rip222"},"datePublished":"2019-07-15T18:06:45Z","url":"https://github.com/angular/angular/issues/31570"}
| 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:1058026b-25e0-b4f8-3d0b-5e234fa2dd4c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D04C:154D88:DDE05D:11AC324:6B01432F |
| html-safe-nonce | 27c52c6aeba07c82fad5622148ba3d994c925093b32ef4e642163d49bc714e64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDRDOjE1NEQ4ODpEREUwNUQ6MTFBQzMyNDo2QjAxNDMyRiIsInZpc2l0b3JfaWQiOiI4MTE0OTE5MTAwNzEyNTY3NTk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 69602681ebc706b97e640d8e243281fa2b87c72fe4befdbd105d057425ea2aa3 |
| hovercard-subject-tag | issue:468262689 |
| 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/31570/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7355b87bfe0356b972d558c51208322ec70cdfe4ba9b9cfcd6340f88417ad7b4/angular/angular/issues/31570 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7355b87bfe0356b972d558c51208322ec70cdfe4ba9b9cfcd6340f88417ad7b4/angular/angular/issues/31570 |
| og:image:alt | 🐞 bug report Description I created a new project with —enableIvy flag. Worked fine until I created a new component using the cli, and added the component to the app component, while the app was bei... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rip222 |
| 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