24届秋招 今年第一个秋招面试 记录一下

今天上午面完了24年第一个秋招面试 时间很快 问的大部分都是项目上的问题 几个八股
为什么你要用umi?用的umi几?
你说的openApi怎么实现的?
你们公司登录的token是用JWT吗?token存在哪里?过期了怎么办?前端还是后端设置过期时间?
基于阿里云的上传视频怎么实现的?
八股主要有
 http状态码有哪些 你遇到过哪些 ?
http缓存有哪些 ? 
Etag和Expires有什么区别?
协商缓存和强缓存有什么区别?

除了最后一个没答出来
许愿offer 给我offer吧 那我直接结束秋招了#秋招的第一个offer,大家都拿到了吗#
全部评论
什么公司呀?
点赞 回复 分享
发布于 2023-08-21 13:44 陕西
许愿offer 给我offer
点赞 回复 分享
发布于 2023-08-08 13:18 上海
得物秋招开了?
点赞 回复 分享
发布于 2023-08-08 09:50 广东
更新一下 明天二面
点赞 回复 分享
发布于 2023-08-07 16:18 上海
许愿offer
点赞 回复 分享
发布于 2023-08-03 13:41 上海

相关推荐

得物、拼多多经常考,倒计时组件1.倒计时组件2.如何实现精确计时(setInterval 1s先就update以前知道写但没考虑到为什么,时间戳同步)// Countdown.jsximport React, { useEffect, useState, useRef } from 'react';/*** props:*  - endAt: number (timestamp ms) 或 Date*  - onFinish?: () => void*  - tickMs?: number (minimal tick granularity, default 1000)*/export default function Countdown({ endAt, onFinish, tickMs = 1000 }) {const endTs = typeof endAt === 'number' ? endAt : endAt.getTime();const [remaining, setRemaining] = useState(Math.max(0, endTs - Date.now()));const mounted = useRef(true);useEffect(() => {mounted.current = true;// initial syncfunction update() {const now = Date.now();const rem = Math.max(0, endTs - now);if (!mounted.current) return;setRemaining(rem);if (rem === 0) {onFinish?.();return;}// Align next update to wall-clock second boundary (or tickMs)const delay = Math.min(tickMs,1000 - (now % 1000) // align to next second for nicer UX);// If <1s left, use requestAnimationFrame for smoothnessif (rem <= 1000) {requestAnimationFrame(update);} else {setTimeout(update, delay);}}update();return () => {mounted.current = false;};}, [endTs, onFinish, tickMs]);const sec = Math.ceil(remaining / 1000);const mm = Math.floor(sec / 60);const ss = sec % 60;return (<div>{mm}:{String(ss).padStart(2, '0')}</div>);}
查看2道真题和解析
点赞 评论 收藏
分享
评论
2
3
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务