If you don't like the "double indentation" of Vue data(), you can use arrow functions

If you don't like the "double indentation" of Vue data(), you can use arrow functions If you don't like the "double indentation" of Vue data(), you can use arrow functions

Left: double nesting Right: arrow function

We're writing a book, you can get it for free here.