Search questions…
⌘
K
English
Tiếng Việt
日本語
한국어
Español
العربية
বাংলা
čeština
Dansk
Deutsch
Ελληνικά
Suomi
Français
Gaeilge
ગુજરાતી
Hausa
हिन्दी
Hrvatski
Magyar
Bahasa Indonesia
Italiano
Basa Jawa
ქართული
Lietuvių
मराठी
Melayu
Malti
नेपाली
Nederlands
Norsk
ਪੰਜਾਬੀ
Polski
Português
Română
Русский
Slovenščina
Shqip
Svenska
Kiswahili
தமிழ்
తెలుగు
ภาษาไทย
Türkçe
اردو
简体中文
flow
Home
Topics
Categories
Learning paths
Search
Home
/
#Hooks
#Hooks
10 questions
What are the Rules of Hooks? Why can't you call a hook conditionally?
React
#hooks
Middle
›
When should you use useMemo and useCallback, and what problem do they solve?
React
#performance
Senior
›
How does the useState hook work?
React
#hooks
Junior
›
What is useEffect and when does it run?
React
#hooks
Junior
›
What are common pitfalls with the useEffect dependency array and cleanup?
React
#hooks
Middle
›
When would you use useReducer instead of useState?
React
#hooks
Middle
›
What are the main use cases for useRef?
React
#hooks
Middle
›
What are custom hooks and how do you write one?
React
#hooks
Middle
›
What are forwardRef and useImperativeHandle for?
React
#hooks
Middle
›
What is the difference between useEffect and useLayoutEffect?
React
#hooks
Senior
›
Hooks Interview Questions · IT Interview Practice