Reddit r/webdev· /u/krrish82·· 15 天前AI 评分22
用 React 手搓可拖拽旋钮组件,按年份和流派随机播放老歌
Built a custom draggable "knob" component in React to scrub through decades of music. Here's how it works
AI 导读
独立开发者用 React 做了一个可拖拽旋钮组件,拖动选年份、点选流派,就能通过 YouTube embed API 播放该年份与流派组合的歌曲。后端为 Node/Express + Prisma/Postgres,歌曲数据集全部手工整理并手动匹配 YouTube ID,目前部分年份与流派组合仍较稀疏。
来源:Reddit r/webdev · reddit.com