Title: Create DOM adapter so that compiler can execute outside the browser · Issue #503 · angular/angular · GitHub
Open Graph Title: Create DOM adapter so that compiler can execute outside the browser · Issue #503 · angular/angular
X Title: Create DOM adapter so that compiler can execute outside the browser · Issue #503 · angular/angular
Description: The compiler relies on the browser to parse the HTML into DOM. It than walks the DOM to detect the directives, expressions, and statements. In order to be able to run the compiler outside the browser we need to refactor the code to remov...
Open Graph Description: The compiler relies on the browser to parse the HTML into DOM. It than walks the DOM to detect the directives, expressions, and statements. In order to be able to run the compiler outside the brows...
X Description: The compiler relies on the browser to parse the HTML into DOM. It than walks the DOM to detect the directives, expressions, and statements. In order to be able to run the compiler outside the brows...
Opengraph URL: https://github.com/angular/angular/issues/503
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create DOM adapter so that compiler can execute outside the browser","articleBody":"The compiler relies on the browser to parse the HTML into DOM. It than walks the DOM to detect the directives, expressions, and statements. In order to be able to run the compiler outside the browser we need to refactor the code to remove the DOM dependency. This should be pretty straight forward, since the compiler already uses a facade to talk to DOM (since JS and Dart APIs are different)\n\nWork needed:\n1. [x] HTML Parser which would crete a tree. (This is performed by browser HTML parser) The tree does not have to be DOM.\n2. [x] Create facade for the tree model created in step 1, which allows the compiler to walk the tree.\n3. [x] [Remove all cyclic dependencies](https://github.com/angular/angular/issues/683)\n\nCompiler operations are limited to:\n1. reading element name\n2. reading attributes\n3. reading text nodes\n4. walking the tree using `.firstChild` and `.nextSibling`\n5. removing and re-wrapping subtrees into `\u003ctemplate>` tags.\n\nOnce the above work is completed the compiler will be able to execute outside the browser environment.\n","author":{"url":"https://github.com/mhevery","@type":"Person","name":"mhevery"},"datePublished":"2015-01-30T16:51:08Z","url":"https://github.com/angular/angular/issues/503"}
| 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:10e874e3-e6e5-9843-a18b-3f522b09b05f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C1E:399E4B:CF39DA:114414A:6B00FA73 |
| html-safe-nonce | c3a2b61430bc51b53c0852a53c803c4ab4a2a6ec74bae93b00d0c40933f49323 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzFFOjM5OUU0QjpDRjM5REE6MTE0NDE0QTo2QjAwRkE3MyIsInZpc2l0b3JfaWQiOiIzMTQ1MzgzNTE5NjQ4MjgzMjUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 235973e9848bc261bf88e1fbbfa3ae6bd079a96cd15aecb37582f15eea342162 |
| hovercard-subject-tag | issue:56056844 |
| 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/503/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1db5a74109b3294b19776fc765d884ba8075152c9918316b4f5ff8aefb74810f/angular/angular/issues/503 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1db5a74109b3294b19776fc765d884ba8075152c9918316b4f5ff8aefb74810f/angular/angular/issues/503 |
| og:image:alt | The compiler relies on the browser to parse the HTML into DOM. It than walks the DOM to detect the directives, expressions, and statements. In order to be able to run the compiler outside the brows... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhevery |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width