Questions exhaustive-deps infinite loop with function dependant on component state byMRMarch 30, 2022