Multiple choiceDifficulty 2
Why must hooks be called in the same order every render?
Answer
React associates hook state by call order on the fiber
Choices
- React associates hook state by call order on the fiber
- ESLint requires alphabetical order
- Browsers cache hooks by name
- Webpack renames them otherwise