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
Description
Add a mechanism to periodically refresh the store’s data via scheduled polling or auto-refresh. This is useful for live dashboards, real-time analytics, or any component that needs to stay in sync with external data without manual triggers.
Why This Matters
Automatic Updates: Reduces the need for users to manually refresh data.
Improved UX: Ensures data displayed in the app is current, especially in scenarios where real-time or near-real-time info is critical.
Possible Approaches
Provide a configuration option like pollInterval that, when set, triggers an effect or method to fetch and update state at regular intervals.
Allow customizing the polling strategy (e.g., exponential backoff, manual pause/resume).
Integrate seamlessly with Angular’s Signals, so UI automatically reflects the updated state without extra boilerplate.
The text was updated successfully, but these errors were encountered:
Description
Add a mechanism to periodically refresh the store’s data via scheduled polling or auto-refresh. This is useful for live dashboards, real-time analytics, or any component that needs to stay in sync with external data without manual triggers.
Why This Matters
Possible Approaches
pollInterval
that, when set, triggers an effect or method to fetch and update state at regular intervals.The text was updated successfully, but these errors were encountered: