Free tool · no sign-up · 10 seconds
Generate AI-powered React Developer interview questions instantly — technical, behavioral, and situational. Tailored for Indian campus placements and fresher hiring.
Enter your role
Type or select your target role in the question generator. You can also specify experience level and domain for more tailored output.
Generate questions
Click "Generate questions" to get 10 curated interview questions in under 10 seconds — no account or sign-up needed.
Practice your answers
Work through each question aloud or in writing. Use the STAR method for behavioral questions and think through edge cases for technical questions.
Upgrade for scored mock interviews
For AI-scored practice with detailed feedback across 5 dimensions, start a full mock interview session on InterviewEra.
A preview from our curated question bank. The generator produces fresh, AI-tailored questions on each run.
What is the difference between state and props in React?
Tip: Props are read-only inputs passed from parent to child — they flow down. State is mutable data owned by a component that triggers re-renders when changed. Changing a prop inside the receiving component is a bug.
What are React Hooks? Name and describe the five most important ones.
Tip: useState: local state. useEffect: side effects. useContext: consume context. useRef: mutable ref without re-render. useMemo/useCallback: memoisation. Hooks replaced class lifecycle methods — name whichever you use most and explain why.
Explain useEffect and its dependency array. What happens with an empty array vs no array?
Tip: No dep array: runs after every render. Empty `[]`: runs once after mount. With deps: runs when any dep changes. Return a cleanup function to cancel subscriptions/timers. Stale closure in deps is the most common bug.
What is Context API? When would you use it over Redux?
Tip: Context avoids prop drilling for low-frequency data (theme, locale, auth user). It re-renders all consumers when context value changes. Use Redux (or Zustand) when you have complex state with many updates, time-travel debugging, or middleware needs.
What is React.memo and useMemo? When do they help and when do they hurt?
Tip: React.memo prevents re-rendering a component if props are shallowly equal. useMemo memoises expensive computed values. Both add overhead from the comparison itself — only use when profiling proves unnecessary re-renders are the bottleneck.
Go beyond reading questions — upload your resume and get AI-scored mock interview feedback across technical depth, communication, structure, confidence, and relevance.