
Aug 2023
- Aug 2023


Live video commerce introduces a demanding frontend challenge: how to keep video playback completely smooth while an incoming stream of live chat comments continuously updates the interface? As my capstone project for the Generasi GIGIH 3.0 bootcamp (GoTo Impact Foundation), I built a functional Tokopedia Play clone using the MERN stack (MongoDB, Express, React, Node.js) with Vite. To avoid stuttering during playback, I decoupled the video player state from incoming chat messages using custom React hooks and memoized component boundaries, ensuring frequent comment additions did not trigger unnecessary re-renders of the video container. The backend provided indexed RESTful MongoDB endpoints for video streams, promotional product lists, and sanitized user comments, wrapped in a mobile-first interface styled with Tailwind CSS.