-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Update 'LikeButton' to show loading state
Now the Like button will have its loading state and spinner. This loading spinner will be shown in two situations, at first render, i.e when the likes are being fetch, and when the user likes a project, i.e if the user likes it, it will render the spinner until the request its finish and showing the updated number of likes or an error message if the request fails. This will certaintly enhance the user experience.
- Loading branch information
Showing
1 changed file
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters