React queuing state updates inside useEffect with strict mode - Kevin Powell - Community