ajax challenge 32 / 42
Oh no, it seems we have a bug!
If you check the network panel, whenever we show the list (through toggling), it makes an ajax request. Ideally, we would only want it to happen once.
Can you help us? It has to be in either TodoList.vue
or App.vue
.
Solution
The simplest way is to change v-if
in App.vue
to v-show
as it was explained here.