Code Self Study Forum

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.

2 Likes