Time:04-08
I'm referring to useIsMounted from
useIsMounted
Seems it was just a design decision to return a memoized function.
Page link:https//www.codepudding.com/Softwareengineering/364706.html