Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor auth store to selectively persist properties and manage global loading state to actions #6

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

Fingertips18
Copy link
Owner

  • Updated the Zustand auth store to persist only specific properties (email and authorized) while excluding others to optimize storage.
  • Implemented a global loading state to provide a consistent user experience across all authentication-related actions, enhancing feedback during loading processes.
  • Ensured that the loading state reflects the ongoing status of user actions, allowing for better UI responsiveness and user engagement.

…al loading state to actions

- Updated the Zustand auth store to persist only specific properties (`email` and `authorized`) while excluding others to optimize storage.
- Implemented a global loading state to provide a consistent user experience across all authentication-related actions, enhancing feedback during loading processes.
- Ensured that the loading state reflects the ongoing status of user actions, allowing for better UI responsiveness and user engagement.
@Fingertips18 Fingertips18 merged commit f7b3d8b into main Sep 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant