Hooks in React: What if I told you...
Hooks do not update their value after 'set value' call until a component is rerendered....
Tags: react, hooks