r/reactjs • u/b_hakyi • Jul 21 '26
Discussion React interview questions for mid-level position?
Besides hooks, what types of questions have you been asked when it comes to front end interview questions?
I feel like mid level can be a weird position to be and I imagine a mix of entry level questions and maybe one or two senior level questions?
Any resources to read up on would be great too !
28
Upvotes
5
u/Used_Lobster4172 Jul 21 '26
How would you deal with components being redrawn too many times?
14
u/MinimumForsaken6740 Jul 21 '26
- what is virtual dom
- when does react re-renders
- I which case useContext can be bad
- how react works under the hood
- how closures are used in react
- what type of states we have in an app
6
u/toruWatanabe2 Jul 21 '26
If you notice that one of your pages in your web app is slow, how would you approach fixing it?
Edit: typo
2
u/Hefty_Breadfruit Jul 21 '26
Give them a code snippet from a “new developer” and ask them to provide feedback to the dev.
2
u/vozome Jul 21 '26
Last time I interviewed I had to implement so many games. Minesweeper, connect 4, wordle, slither io…
2
u/Substantial-Swan7065 Jul 21 '26
What is the role title? Senior swe or swe?
I’ve never been asked to explain a tech in a senior level interviews. It’s more:
“Tell me about a project you’re proud of”
2
u/No-Humor-3808 Aug 01 '26
Lately, I've found that interview questions are more focused on TypeScript, such as the difference between interface and type, or using generics for polymorphic react components.
Force yourself to practice react with TypeScript strict mode enabled, that's how most real world projects are built. Not every platform for practicing teact supports TS properly, so try to use one that does. Just google react challenges and choose the one that best fits your needs.
2
u/Frontend_Lead 13d ago
Mid level is exactly that mix: mostly solid fundamentals, plus one or two "how would you design this" questions to see if you're ready to grow.
Beyond hooks, what I see asked a lot:
- rendering: what triggers a re-render, reconciliation and keys, when memo / useMemo / useCallback actually help
- state: local vs lifted vs context vs a store (Redux / Zustand), server state with React Query
- effects: race conditions in fetches, cleanup, why effects run twice in strict mode
- performance: code splitting, lazy loading, list virtualization, measuring with the profiler
- forms: controlled vs uncontrolled, validation
- testing: React Testing Library, what you'd test in a component
- one design question: structure a dashboard or a feed, where state lives, how you'd fetch and cache
JS underneath still comes up: closures, event loop, promises, this.
Usually there's also a live build: a list with search + pagination or a form, with loading and error states.
frontendlead(com)/trivia-questions has React interview questions for mid level with answers (full disclosure, I built it)
3
u/akornato Jul 21 '26
Mid-level interviews focus less on definitions and more on your practical experience and reasoning. You'll get questions about performance optimization, like when to use `useMemo` versus `React.memo` and the trade-offs of each. Expect to discuss state management beyond simple hooks, explaining the limitations of the Context API and when you would reach for a library like Redux or Zustand. They also want to see how you think about architecture, so be ready to talk about component patterns, data fetching strategies, and how you would structure a complex feature. They want to know if you can connect different concepts to solve a real problem, not just recite what a hook does.
You are correct that it’s a weird mix, but the key difference is the shift from "what" to "why". Instead of just defining the virtual DOM, you might be asked to explain its performance implications and trade-offs in a specific scenario. You will likely face a small system design question, like how to build a searchable, paginated list from scratch, to see how you handle state, API calls, and user interaction. The goal is to prove you can work independently and make solid technical decisions, which is a big step up from an entry-level role. It's a lot to prepare for, which is why the team I'm with built an interview AI assistant to help candidates articulate their thought process on these complex topics.
1
u/Lox22 Jul 21 '26
If they gave your GitHub be prepared to talk about your projects. Why you approached your functionality this way. If you refactored, why? What were some of the things you struggled with? How much did Claude write?
I just was asked these in my last interview. Also be prepared to do a test in hacker net. This seems to be the new white boarding.
Also research the CTO, see if they are pushing to use ai for productivity and prep answer for how you would use ai.
1
u/TishIceCandy Jul 21 '26
Questions can range from finding bugs in code to implementing features such as Star rating component, dropdown component, search bar component. You can also be asked to fetch data from an API and render in a UI to check your CSS and component organization skills. For mid level positions, there may be algorithm questions added as well (such as Leetcode med)
I wrote a handy book which has 100 questions for React and Frontend interviews - https://topmate.io/shrutikapoor08/1966853.
There's a free version as well - https://topmate.io/shrutikapoor08/1470120
0
u/[deleted] Jul 21 '26
[deleted] — view deleted comment
6
u/[deleted] Jul 21 '26
[removed] — view removed comment