angular / angular/components

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

Open
#29,919 5 comments 3 reactions 0 assignees View on GitHub
area: cdk/tree docs P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular
Domain
documentation, frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.