-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Being able to configure background refresh within loaders would be incredibly valuable. Currently, I'd need to add side-effects and manage them along with abort controllers on my own, but that should be a pretty standard pattern across each loader.
In thinking about how I would want to leverage this, I realized it may be nice to pass functions to an optional triggers property, which would then allow users to do things like avoid refreshes in idle states, explicitly refresh when a window gains focus or certain requests are made, etc.
I'm more than happy to tackle this, but I think it would be valuable to discuss what the ideal interface would be before really diving in.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels