This is the frontend repo of Uni-forum, associated with the University of Auckland, SOFTENG701. This repo will be linked to Netlify for ease of deployment and code review
MIT License
1
stars
22
forks
source link
Create user context for accessing currently logged in user #80
In order to access user profiles across multiple components in the application, a user context needs to be created for user information to be accessed.
The places that need access to this context variable is, but not limited to:
Profile element in nav bar
post preview component
login page
community page
posts page
post page (individual post with comments)
new post page?
*Although we added this issue because that's how we thought it would be implemented, you can modify or adjust according to how you think would be the best.
In order to access user profiles across multiple components in the application, a user context needs to be created for user information to be accessed.
The places that need access to this context variable is, but not limited to:
*Although we added this issue because that's how we thought it would be implemented, you can modify or adjust according to how you think would be the best.