angular / angular/components

docs-bug(treeview): Add guide on how to migrate from old treeview to new treeview

Offen
#29,919 5 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: cdk/tree docs P4
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

### Documentation Feedback

Following the sudden deprecation of the various tree controllers, it would be nice if there were some kind of documentation on how to remove tree controller and migrate to the new way of doing things. Also, the documentation still contains references to `treeControl`, which it shouldn't because the treeControl has been deprecated?

![Image](https://github.com/user-attachments/assets/f28058a0-742c-4191-a2f5-83822f59ab0d)

A simple migration guide would be warranted as well because there are tonnes of search results and guides on how to use the tree that just became out of date, so if there was an easy way to adapt code to the new way of doing things, that would be ideal.

### Affected documentation page

https://material.angular.io/components/tree/overview

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the tree overview page at https://material.angular.io/components/tree/overview and review its current treeControl references and guidance. Document migration from the deprecated tree controllers to the new tree approach, and remove or update outdated references so the page provides a clear migration path.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular
Bereich
documentation, frontend
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.