orionchen.me

First-round Frontend Internship Interview at Hangzhou Xingqiu Online Tech

约 1 分钟阅读
// early content — written years ago, kept for archive completeness; tone & opinions may be dated.

Felt OK overall. Questions were medium difficulty. A few I hadn't actually written code for, so I just said I hadn't used them and made a note to read up later.

1. A bit nervous

It had been a while since my last interview, so I was a little nervous. The interviewer was nice — a PM by background — and whenever I stumbled they'd say never mind, right that's so cool. The vibe was pretty relaxed. The questions were interesting too, not the usual rote-memory stuff, more grounded in projects and actual practice.

2. Questions

  • Q: Do you know how the JS event loop works?
  • Q: Talk about the difference between React useCallback and useMemo.
  • Q: Difference between hash router and history router?
  • Q: How does useEffect work — the three cases: with brackets, no second arg, and with a dependency array.
  • Q: Some quick questions on mobx.
  • Q: Have you used TS Record and Map? (Honestly I haven't used them much. Used Record a bit, haha — I'm pretty rusty.)
  • Q: A setTimeout execution-order question.

Plus some smaller bits, more like casual chat.

3. Wrap-up

Second round is Wednesday, we'll see how it goes. It's a blockchain company, which sounds interesting — I haven't really touched that space before, so it'd be a chance to broaden my horizons.