Angular v2+ Uses Depth First Search

I found this interesting:
The algorithm used by Angular (v2+) in its change detection logic (verify if the HTML template needs to be updated) is very similar to the DFS algorithm.

https://indepth.dev/he-who-thinks-change-detection-is-depth-first-and-he-who-thinks-its-breadth-first-are-both-usually-right/

2 Likes