-
-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
enhancementA new feature or improvement to an existing feature.A new feature or improvement to an existing feature.triageHas not been reviewed yet and should not be worked on.Has not been reviewed yet and should not be worked on.
Description
What problem does your feature request solve?
Currently, there is a function that can tell whether a tab is the last active tab or not whenever it is called. I want a state version of it so that components re-render automatically whenever lastActiveTab state changes.
Describe the solution you are proposing.
const { lastActiveTab, isLastActiveTab } = useIdleTimer(....);
// lastActiveTab is either true or false
// isLastActiveTab is a fn which returns true, false or nullDescribe alternatives you have considered.
none
Importance
I Need It
Additional Context
- This missing feature presents as a bug.
- This missing feature is forcing me to consider alternatives.
Metadata
Metadata
Assignees
Labels
enhancementA new feature or improvement to an existing feature.A new feature or improvement to an existing feature.triageHas not been reviewed yet and should not be worked on.Has not been reviewed yet and should not be worked on.