<a href="#C5_L8" id=C5_L8></a><a href="#C5_L9" id=C5_L9></a><a href="#C5_L10" id=C5_L10></a><a href="#C5_L11" id=C5_L11></a><a href="#C5_L12" id=C5_L12></a><a href="#C5_L13" id=C5_L13></a><a href="#C5_L14" id=C5_L14></a><a href="#C5_L15" id=C5_L15></a><a href="#C5_L16" id=C5_L16></a></span></code></pre></div>
<p>Here, <code>indexOfSelectedTodo</code> depends on <code>todos.[]</code>, so it will update if we add an item
to <code>todos</code>, but won't update if the value of <code>isDone</code> on a <code>to