> For the complete documentation index, see [llms.txt](https://xz-fe-interview.gitbook.io/fe-interview/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xz-fe-interview.gitbook.io/fe-interview/jing-xuan-mian-shi-ti.md).

# 前端精选面试题

本套题特点：全面考察面试者对的前端知识点，包含react(hooks), webpack, javascript原理, es6，http，node,typescript，数据库，实战

面试时间：30min-40min

1. 【js】前端路由原理？
2. 【js】async await内部原理，及相比promise的优势？
3. 【js】CSRF跨站请求伪造攻击？
4. 【js】js执行过程？(知识点：微/宏任务，变量提升，作用域)
5. 【js】介绍下函数节流和函数防抖，实际运用？
6. 【react】react hook优缺点？
7. 【react】react 组件懒加载的方式及原理？
8. 【react-redux】react-redux的数据流？
9. 【webpack】webpack打包过程？
10. 【http】强缓存，协商缓存的判断流程？
11. 【http】为什么axios会发两次请求？
12. 【数据库】mysql，mongodb 区别？
13. 【node】介绍下koa洋葱模型？
14. 【ts】typescript中泛型？
15. 【项目】长列表如何优化？

其他问题：

* 你遇到过哪些技术问题，最后是如何解决的？
