Why does React always ring twice? 🔔🔔 Day 73 of #100DaysOfCode - CogniChat Update 🚀 Today was supposed to be a pure "UI Polish" day. I spent hours perfecting the Glassmorphism look for the Login/Signup screens. I fixed the layout alignment for the First & Last Name inputs (making it actually industry-standard and responsive). It looks clean. It feels professional. Then, I tested the success message. The Bug (Watch the video): I click login once. The app notifies me twice. It’s the classic React "Double Render" ghost—likely React.StrictMode doing its job in development, or a zombie event listener I forgot to clean up. The Irony? 😅 The LeetCode problem I solved today was "Contains Duplicate." I solved the algorithm, but apparently, my frontend missed the memo. The universe definitely has a sense of humor. Current Status: 🎨 UI: Glassmorphism is 90% done. 🐛 Bug: Hunting down the double-fire issue. 🧠 DSA: Solved "Contains Duplicate" (Video coming soon). Links: 💻 Code: https://lnkd.in/gZqFDF9t 🚀 Live: https://lnkd.in/gJ5hSAYV 🧩 LeetCode: https://lnkd.in/gw-n6TnG React Devs: Is StrictMode the first thing you disable, or do you respect the double-render? 👇 #WebDevelopment #ReactJS #MERNStack #BugLife #UIUX #Glassmorphism #LeetCode #JuniorDeveloper #BuildInPublic

To view or add a comment, sign in

Explore content categories