Skip to content

Feature request: Revalidate user on browser refocus #321

Description

@brandanking-decently

Prerequisites

What is the problem you’re trying to solve?

Due to the nature of our app, we have users who often keep a specific form open throughout the course of the day without refreshing. This is sometimes causing an issue as the current session has actually expired. Resulting in the users requests failing and needing to refresh manually.

What solution would you like to see?

It would be great for a feature similar to tanstack query https://tanstack.com/query/latest/docs/framework/react/guides/window-focus-refetching that revalidated the users session whenever the browser is refocused

Additional information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions