> For the complete documentation index, see [llms.txt](https://mm.ricky.moe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mm.ricky.moe/interview/inverview-record/vue-mian-shi-qing-dan.md).

# vue面试清单

* [x] vue2.0 & 3.0响应式实现原理
* [x] computed实现原理
* [x] computed和watch有什么区别和运用场景
* [x] 为什么在 Vue3.0 采用了 Proxy,抛弃了 Object.defineProperty？
* [x] Vue 中的 key 到底有什么用？

  从vue compile-dom 原理说起，有key的dom diff性能会更好
* [x] 谈一谈 nextTick 的原理
* [x] vue 是如何对数组方法进行变异的 ?
* [x] Vue 组件 data 为什么必须是函数?

  Object是引用，对于组件的实例，一个实例改变了data会影响到另外一个实例
* [x] 谈谈 Vue 事件机制,手写on,off,emit,once
* [x] 说说 Vue 的渲染过程
* [x] 聊聊 keep-alive 的实现原理和缓存策略?


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mm.ricky.moe/interview/inverview-record/vue-mian-shi-qing-dan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
