4 ms·
In the example <button type="submit">Add #{{ todos.length }}</button> should probably be <button type="submit">Add #{{ todos.length + 1 }}</button> :-)
by gnuchu 10y ago
In the example
<button type="submit">Add #{{ todos.length }}</button>
should probably be
<button type="submit">Add #{{ todos.length + 1 }}</button>
:-)