Skip to content

Update AllPosts.js and myPosts.js #60

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

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

Conversation

aniruddhaadak80
Copy link

@aniruddhaadak80 aniruddhaadak80 commented Oct 25, 2024

✅ myPosts.js Modifications:

✨ Added functionality to toggle visibility of comments for each post using a dedicated button.

⭐ Implemented a like/unlike feature with state management to reflect the number of likes for each post.

💫 Improved the rendering logic to ensure that only existing posts are displayed, and the code gracefully handles any missing data.

✅ AllPosts.js Modifications:

  1. Similar enhancements as in myPosts.js, including toggling comment visibility and managing likes.

  2. Incorporated checks to ensure that only valid posts with authors are rendered, preventing potential errors in the UI.

  3. Added user interface components that enhance user engagement with posts (like, comment actions).

For issue #58

AllPosts.js Modifications:

1. Similar enhancements as in myPosts.js, including toggling comment visibility and managing likes.

2. Incorporated checks to ensure that only valid posts with authors are rendered, preventing potential errors in the UI.

3. Added user interface components that enhance user engagement with posts (like, comment actions).
Copy link

vercel bot commented Oct 25, 2024

@aniruddhaadak80 is attempting to deploy a commit to the Priyam Saha's projects Team on Vercel.

A member of the Team first needs to authorize it.

myPosts.js Modifications:

✨ Added functionality to toggle visibility of comments for each post using a dedicated button.

⭐ Implemented a like/unlike feature with state management to reflect the number of likes for each post.

💫 Improved the rendering logic to ensure that only existing posts are displayed, and the code gracefully handles any missing data.

For issue priyam-03#58
@aniruddhaadak80 aniruddhaadak80 changed the title Update AllPosts.js Update AllPosts.js and myPosts.js Oct 25, 2024
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