Media Summary: TLDR; don't mutate state directly. Always use setState when updating a piece of state. Also, pass a function when updating state ... We hear a lot about "clean" code principles and Apply for coaching with me and my team Biz / Sponsorships ...
10 React Antipatterns To Avoid - Detailed Analysis & Overview
TLDR; don't mutate state directly. Always use setState when updating a piece of state. Also, pass a function when updating state ... We hear a lot about "clean" code principles and Apply for coaching with me and my team Biz / Sponsorships ... Generally anti-pattern arise when we apply the code without understanding the underlying concept of framework/library.