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
With onRequest as the only callback available for modifying state there is some difficulty in both updating the state and returning it. Would it not be preferred to decouple these concerns using a separate callback, (e.g. onRefresh) in order to manage the state asynchronously from the function that returns the state values to your component?
The text was updated successfully, but these errors were encountered:
With
onRequest
as the only callback available for modifying state there is some difficulty in both updating the state and returning it. Would it not be preferred to decouple these concerns using a separate callback, (e.g.onRefresh
) in order to manage the state asynchronously from the function that returns the state values to your component?The text was updated successfully, but these errors were encountered: