Uber - Senior Frontend Engineer - Onsite Interview

Design and Build a Social Media Feed UI
• Build a responsive feed for a social media app.
• Each post includes a user profile picture, username, timestamp, post content, and like/comment buttons.
• Implement infinite scroll/pagination as the user scrolls down.
• Handle loading states and error boundaries.
• Discuss how you’d structure state management and data fetching.
• Bonus: Support optimistic UI updates for likes and comments.