Skip to content
RED SAG Skills
easyStudy question · answer published in React interview questions, so no pointsreactstrict-mode

Logs that appear twice

In development, a console.log in a component body appears twice per render, and effects run, clean up and run again on mount. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions