Design a Scalable Photo Sharing Web Application
Design a responsive, high-performance photo sharing application similar to Instagram. Focus on the frontend architecture required to handle a massive infinite-scrolling feed of images, a robust image upload workflow with client-side processing, and strategies for achieving excellent Core Web Vitals (LCP/CLS). Discuss how you would handle state synchronization for social interactions (likes/comments), image optimization strategies for various device types, and the balance between SEO requirements and a fluid SPA experience.
ReactNext.jsTanStack QueryZustandTailwind CSSCDNS3Service WorkersWeb WorkersTypeScript
01