Skip to content
RED SAGSkills
easy5 pts · first answer countsreactstrict-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