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
I'm looking for the cleanest way to set by default the user's last period choice on my application's dashboard.
Current context:
The user can select a period on the dashboard.
If the user refreshes the page or navigates elsewhere before returning, the selection is reset to default.
The period choice is currently saved in the database.
Objective:
Implement a solution so that the user's last period choice saved in database is automatically set as default, even after a refresh or navigation between pages.
What would be the best approach to retrieve and apply this saved choice efficiently?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I'm looking for the cleanest way to set by default the user's last period choice on my application's dashboard.
Current context:
Objective:
Implement a solution so that the user's last period choice saved in database is automatically set as default, even after a refresh or navigation between pages.
What would be the best approach to retrieve and apply this saved choice efficiently?
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions