angular / angular/components

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

Aperta
#29,919 5 commenti 3 reazioni 0 assegnatari Vedi su GitHub
area: cdk/tree docs P4
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular
Ambito
documentation, frontend
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.