当前位置: 首页 > 面试经验 >

滴滴前端一面

优质
小牛编辑
71浏览
2023-12-28

滴滴前端一面

时长:50min 难度:easy
- 自我介绍
- 从什么时候开始做前端的
- 工作室规模,人员组合
- 你作为前端技术负责人是怎么做技术选型的
- 为什么要用React
- 说说AJAX,fetch,axios的区别
- 平时项目里React用的是什么版本
- 说说有哪些hooks
- useMemo和useCallback的作用的区别
- 用过Redux嘛
- useRef
- 闭包
- 纯函数是什么
- 对promise的理解
- 遍历数组的方法
- forEach和map的区别
- 宏任务和微任务
- 看一道输出题
```
function test() {
console.log("start");
setTimeout(() => {
console.log("children2");
Promise.resolve().then(() => {
console.log("children2-1");
});
}, 0);
setTimeout(() => {
console.log("children3");
Promise.resolve().then(() => {
console.log("children3-1");
});
}, 0);
Promise.resolve().then(() => {
console.log("children1");
});
console.log("end");
}
// 结果 start end children1 children2 children2-1 children3 children3-1
```
- 浏览器缓存
- 前端性能优化手段
- 手写深拷贝(要考虑循环引用)
- 反问:业务部门,两轮技术面,只有一个 hc,对我评价(很不错),两天内出结果
#我的成功项目解析##我的实习求职记录#
 类似资料: