React Developer interview question
What does `cleanup in effects` do and when should you use it?
The answer is available to members. Create a free account to see every answer, track which questions you're confident about and practise with timed mock interviews.
More most-asked React Developer questions
- Explain React concept: keys in lists.
- Explain React concept: unidirectional data flow.
- Explain React concept: controlled vs uncontrolled inputs.
- Explain React concept: state.
- Explain React concept: lifting state up.
- What does `useState` do and when should you use it?
- What does `useEffect` do and when should you use it?
- What does `useContext` do and when should you use it?