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

Dynamic author information + follow feature #560

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

LetitiaCowan
Copy link

@LetitiaCowan LetitiaCowan commented Feb 18, 2025

Task:

  • Implement dynamic author information.
  • Add a "Follow" feature.
  • Add a skeleton loading state.

why:

  • Improve user experience.
  • Make the code cleaner and easier to read.

how:
I fetched the author's data dynamically using Axios and store it in a state vairable. While the data is loading, I displayed a skeleton loader for a better user experience. To implement the follow feature, I update the followers count by modifying the author state using setAuthor, ensuring the UI updates in real-time.
Screenshot 2025-02-18 125645
sc3

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