microsoft/frontend-bootcamp

Cannot clone empty node

rakhi2104 opened this issue · 4 comments

In step01-03/final
Creating a new node with an empty list breaks the app.
Cannot find a node with .todo when all completed todo items are cleared.

Is this related to #5? Can you point to the step?

In step01-03/final

this is why you don't use raw JS and cloning to write your app :D

As the focus of this step is on writing JS, not writing applications, I'm going to leave this 'bug' in the code and mention it in the docs that this approach is fragile due to this edge case.