Cannot clone empty node
rakhi2104 opened this issue · 4 comments
rakhi2104 commented
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.
rakhi2104 commented
In step01-03/final
micahgodbolt commented
this is why you don't use raw JS and cloning to write your app :D
micahgodbolt commented
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.