Is the memoization of bookCount
in this instance handled equivalently to a computed
reference?
const author = reactive({
name: 'John Doe',
books: [
'Vue 2 - Advanced Guide',
'Vue 3 - Basic Guide',
'Vue 4 - The Mystery'
],
get bookCount() {
return this.books.length
}
})