next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
Questions
4 of 14
1
Why do we need custom hooks?
2
What points to note and take care of while writing custom hooks?
3
When should we use a custom hook?
4
What should not be put into custom hooks?
5
What are the advantages of Custom Hooks?
6
What should be returned by custom hooks?
7
What is the useEffect cleanup function?
8
What should we do in cleanup functions?
9
What are the advantages of cleaning up after an effect?
10
List potential pitfalls or risks of Custom Hooks.
11
Implement useLocalStorage hook.
12
Implement useDebounce hook.
13
Recap.
14
Implement useMediaQuery hook.
react
Basics
JSX
Virtual DOM
Reconciliation
State and Props
Components
Class Components
Function Components
Lifecycle functions
Code Sharing
Hooks
useState
useReducer
useMemo
useContext
useCallback
useEffect
Custom Hooks
New Hooks
HOC
Refs
Data Sharing
Events
Context API
Redux
Router
CSR-SSR
React APIs
Performance Optimisation
ReactDOM
Strict Mode
Security
Questions
All Topics
A-
Reset
A+
04 / 14
What should not be put into custom hooks?