How React hooks work - in depth In simple cases, React Hooks will magically do exactly what you meant for, but in other cases, their behavior can...