hooks icon indicating copy to clipboard operation
hooks copied to clipboard

Thank you for useAppState, but could you also export previousAppState

Open marcmoo opened this issue 3 years ago • 1 comments

some times we need to have previous state to make sure preious state was 'background' or 'inactive' and currentstate is active, so we will call a method. but currently the only state it returns is currentState.

marcmoo avatar Jul 11 '22 03:07 marcmoo

@marcmoo what was your workaround for this?

3KINGZ avatar Sep 13 '22 17:09 3KINGZ