You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newly added isMount function is a breaking change, but has been marked as a feature release. The following code will fail since v2.2.0:
constinitialData={ ... }constfetchSomething=(data=initialData){// Data is now function, but was undefined before// The initialData won't be used anymore}constonClick=async()=>{awaitfetchSomething({custom: true})}useAsyncEffect(fetchSomething,[])
It's now too late, but I just wanted to let you know about this case so you can avoid it in future releases :)
The text was updated successfully, but these errors were encountered:
The newly added
isMount
function is a breaking change, but has been marked as a feature release. The following code will fail sincev2.2.0
:It's now too late, but I just wanted to let you know about this case so you can avoid it in future releases :)
The text was updated successfully, but these errors were encountered: