Skip to content

React pr#21

Closed
jorisstander wants to merge 2 commits into
masterfrom
react-pr
Closed

React pr#21
jorisstander wants to merge 2 commits into
masterfrom
react-pr

Conversation

@jorisstander

Copy link
Copy Markdown
  • Fetches user data asynchronously from an API using a provided user ID and auth token from context.
  • Displays user information (email, location) and user statistics (posts, followers, following) via separate subcomponents (UserInfo and UserStats).
  • Shows loading and error states during data fetching.
  • Uses React Router v6 to provide navigation links inside the dashboard.
  • Provides a simple AuthContext to supply userId and token for authentication purposes.

@Harborn-digital Harborn-digital deleted a comment from TAgaroud Jun 18, 2026
@Harborn-digital Harborn-digital deleted a comment from TAgaroud Jun 18, 2026
@Harborn-digital Harborn-digital deleted a comment from TAgaroud Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants