/r/ReactJS - The Front Page of React
•
2026-04-29 00:00
The vector similarity matching in my anonymous thought app taught me a lot about React state management at scale
Been heads down on a side project called On Your Mind (https://on-your-mind.pages.dev) and the matching feature ended up being the most technically interesting React problem I've solved in a while. The core idea: when you post an anonymous thought, BGE-small embeddings get generated via Cloudflare Workers AI, stored in Supabase with pgvector, and cosine similarity queries find strangers thinking s...