Best GitHub repositories for React interview questions

Twelve free GitHub repositories for React and JavaScript interview prep, what each one covers, and a plan for using them before a frontend interview.

5 min read Interviews editorial team

  • react
  • frontend
  • github
  • interview prep
On this page
  1. React question banks
  2. JavaScript fundamentals
  3. Coding challenges and machine coding rounds
  4. Handbooks and system design
  5. A two-week React interview plan using these repositories
  6. Topics to be ready for
  7. FAQ
  8. Find the role, then practice for it

React interviews mix three things: JavaScript fundamentals, React itself, and practical UI building under time pressure. Free GitHub repositories cover all three well, but there are so many that it is hard to know where to start.

We last checked every repository below on 26 November 2026. All links were live, and the star counts are the ones GitHub showed that day, rounded. Stars measure popularity, not quality, so the descriptions explain what each repository is actually good for.

React question banks

1. sudheerj/reactjs-interview-questions

github.com/sudheerj/reactjs-interview-questions, about 45,000 stars.

A very large list of React questions with answers, covering components, hooks, context, rendering, refs, performance, React Router, and older class component topics. Its size is both the strength and the trap. Use the table of contents to pick the sections that match the role, and skip legacy topics unless the job mentions an older codebase.

How to use it: read a question, answer it out loud, then compare with the written answer. Mark the ones you got wrong and revisit them two days later.

2. greatfrontend/top-reactjs-interview-questions

github.com/greatfrontend/top-reactjs-interview-questions, about 6,000 stars.

A shorter, curated set of the React questions that come up most often, with concise answers. It is a good starting point if you have only a few days.

How to use it: go through it once early in your preparation to find weak spots, and once more the day before the interview as a review.

3. Pau1fitz/react-interview

github.com/Pau1fitz/react-interview, about 1,800 stars.

A compact set of React questions with short answers. Some answers reflect older React patterns, so treat it as a quick quiz rather than a reference and check anything that looks dated against the official React documentation.

JavaScript fundamentals

React interviews almost always include plain JavaScript questions about closures, the event loop, this, promises, and prototypes.

4. sudheerj/javascript-interview-questions

github.com/sudheerj/javascript-interview-questions, about 28,000 stars.

A long list of JavaScript questions and answers from the same author as the React list, plus coding exercises. It covers language features from basic types to async behavior.

5. greatfrontend/top-javascript-interview-questions

github.com/greatfrontend/top-javascript-interview-questions, about 10,000 stars.

A curated list of the JavaScript questions frontend engineers hear most, with explanations that go a step beyond one-line answers.

6. ganqqwerty/123-Essential-JavaScript-Interview-Questions

github.com/ganqqwerty/123-Essential-JavaScript-Interview-Questions, about 5,000 stars.

Short, tricky code snippets that test whether you really understand scope, hoisting, coercion, and this. Good for building the reflex to read code carefully before answering.

Coding challenges and machine coding rounds

Many frontend loops now include a "machine coding" round where you build a small component or feature in 45 to 90 minutes.

7. sanchit0496/reactjs-machine-coding-challenges

github.com/sanchit0496/reactjs-machine-coding-challenges, about 800 stars.

A set of React machine coding problems with solutions, the kind of exercises you might see in a live UI round: lists, forms, modals, pagination, and similar components.

How to use it: build each challenge yourself with a timer before opening the solution. Then compare structure, state handling, and accessibility.

8. sadanandpai/frontend-mini-challenges

github.com/sadanandpai/frontend-mini-challenges, about 2,400 stars.

Small frontend challenges with implementations in several frameworks, including React. Useful for warming up before a live round.

9. sadanandpai/javascript-code-challenges

github.com/sadanandpai/javascript-code-challenges, about 4,500 stars.

JavaScript coding challenges from beginner to advanced, including common interview tasks such as implementing debounce, throttle, deep clone, and promise utilities.

Handbooks and system design

10. yangshun/front-end-interview-handbook

github.com/yangshun/front-end-interview-handbook, about 44,000 stars.

A broad handbook for frontend interviews: what the rounds look like, JavaScript, HTML, CSS, and how to approach UI and system design questions. Read it first if you have never done a frontend loop.

11. greatfrontend/awesome-front-end-system-design

github.com/greatfrontend/awesome-front-end-system-design, about 8,600 stars.

A curated list of articles and resources on frontend system design: designing a news feed, autocomplete, image carousel, and similar features, plus topics such as rendering strategies and performance.

How to use it: pick two or three classic problems and practice designing them end to end, including data fetching, state, caching, and accessibility. Our system design interview guide shows a structure you can reuse.

12. typescript-cheatsheets/react

github.com/typescript-cheatsheets/react, about 47,000 stars.

Not a question bank, but a practical guide to typing React components, hooks, and events. Many React roles now expect TypeScript, and interviewers often ask how you would type a props interface or a custom hook.

A two-week React interview plan using these repositories

Days Focus Repositories
1 to 2 Understand the loop and the gaps front-end-interview-handbook, top-reactjs-interview-questions
3 to 5 JavaScript fundamentals top-javascript-interview-questions, 123-Essential-JavaScript-Interview-Questions
6 to 8 React deep dive: hooks, rendering, state reactjs-interview-questions, typescript-cheatsheets/react
9 to 11 Machine coding practice with a timer reactjs-machine-coding-challenges, frontend-mini-challenges, javascript-code-challenges
12 to 13 Frontend system design awesome-front-end-system-design
14 Review weak spots, rest your own notes

Topics to be ready for

Whatever source you use, make sure you can explain these without notes:

  • How React decides when to re-render, and how memo, useMemo, and useCallback affect it.
  • The rules of hooks and why they exist.
  • useEffect dependencies, cleanup, and common bugs such as stale closures.
  • Controlled versus uncontrolled inputs.
  • Lifting state, context, and when an external state library is worth it.
  • Keys in lists and why index keys can cause bugs.
  • Server rendering, hydration, and what frameworks such as Next.js add.
  • Basic accessibility: labels, focus management, and keyboard navigation.

FAQ

Are GitHub question lists enough to pass a React interview?

They are good for knowledge checks, but most React loops also include building something live. Pair question banks with timed machine coding practice and one or two small projects you can talk about.

Should I still learn class components?

Know what they are and how lifecycle methods map to hooks, because some companies still maintain older code. Spend most of your time on function components and hooks.

How do I know if a repository is out of date?

Check the last commit date and whether answers mention current React features. When an answer looks dated, verify it against the official React documentation.

Find the role, then practice for it

Browse open React, frontend, and TypeScript roles on Interviews. When you have an interview booked, the prep plan turns the posting into quizzes and topics for that company's stack. Create a free profile to try it.