Exambodh - Practice Aptitude, Reasoning & GK Questions
Ctrl + K
Ctrl + K
UPlay Quiz
BlogPlay QuizU
≡One Liner Questions⌂HomeBgBlog?Play Quiz

Categories

SSC CGL›
General Knowledge›
Indian History›
Indian Polity›
Quantitative Aptitude

Exambodh

Exambodh helps students prepare for aptitude, reasoning, GK, and verbal exams with topic-wise practice questions, simple explanations, and structured learning.

Quick Links

HomePlay QuizBlogAbout UsContact UsPrivacy PolicyDisclaimerCopyright PolicyTerms & Conditions

Study Hubs

Latest BlogGeneral KnowledgeQuantitative AptitudeLogical ReasoningComputer AwarenessCurrent Affairs

Popular Categories

SSC CGLGeneral KnowledgeIndian HistoryIndian Polity
›
Logical Reasoning›
Interview Practice›
Science›
Computer Awareness›
Current Affairs›
Geography›
NCERT Solutions & Notes›
Static GK›
  1. Home
  2. |Interview Practice
  3. |One Liner Questions

Interview Practice One Liner Questions with Answers

Practice exam-ready one liner questions for Interview Practice with quick answers for SSC, Railway, Banking and competitive exams.

Total Questions: 54

ReactJS

What is cleanup function in useEffect?

Cleanup function is used to clean up side effects before component unmount or before the next effect runs.

ReactJS

How do you perform API calls with useEffect?

API calls can be made inside useEffect and the response can update the component state.

ReactJS

What is the difference between componentDidMount and useEffect?

useEffect with empty dependency array behaves like componentDidMount.

ReactJS

What is the difference between useEffect and useLayoutEffect?

useEffect runs after rendering while useLayoutEffect runs before the browser paints.

‹
123456
›
Page
˅
of 6
Quantitative Aptitude
Logical Reasoning
Explore:HomePlay QuizBlogContact Us

Copyright 2026 Exambodh - All rights reserved.