字节跳动前端面试分享
date
Sep 13, 2023
slug
frontend_interview_bytedance
status
Published
tags
前端
interview
frontend
summary
面试的是字节的tik tok组。
type
Post
- reactjs里为啥不能在if,for里调用钩子
因为hooks为了在函数组件中引入状态,维护了一个有序表
- useEffect怎么用
- 水平垂直居中
flex,绝对定位,transform, 块级元素水平可以用margin:auto,内联元素垂直居中lineHeight=height
- setTimeout, async 打印题
- 最大连续子数组和