angular/adev/shared-docs/services
arturovt da6970d2cb refactor(docs-infra): allow table of contents to be GCed (#58034)
This commit updates the table of contents functionality to clean up correctly whenever the user
navigates to other pages and nodes are removed from the DOM.

Currently, calling `renderComponent` with the `TableOfContents` keeps creating a new table of contents
component without removing the previous one, as they are created manually.

This leads to memory leaks because the components cannot be collected properly, even if the user
navigates to the home page where there is no TOC component.

PR Close #58034
2024-10-10 12:33:51 +00:00
..
BUILD.bazel refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
index.ts refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
inject-async.service.ts refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
navigation-state.service.ts refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
search.service.ts build: update dependency algoliasearch to v5 (#57397) 2024-08-20 13:17:59 -07:00
table-of-contents-loader.service.spec.ts refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
table-of-contents-loader.service.ts refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
table-of-contents-scroll-spy.service.spec.ts refactor(docs-infra): allow table of contents to be GCed (#58034) 2024-10-10 12:33:51 +00:00
table-of-contents-scroll-spy.service.ts refactor(docs-infra): allow table of contents to be GCed (#58034) 2024-10-10 12:33:51 +00:00