Feb 21Demystifying short-circuit conditions when you have a 0 on left hand side in JavaScript & ReactJS ;)I learnt something recently while solving a bug… So why not share it with the world! Here we go… The Problem? The problem was, part of the ReactJS code was rendering a 0. A simplified example: conditionVariable && <MyComponent/> Generally if the short circuit condition is true then MyComponent should be rendered…JavaScript1 min readJavaScript1 min read
Published in Bootcamp·Aug 20, 2021Others vs designersThe world of UX specially the part that deals with User Interfaces has drawn huge inspiration from food to name it’s components, it’s both interesting and yummy 😋… As soon as this thought touched my mind, I thought let’s make a series and put it out to the world and…UX4 min readUX4 min read
Jun 24, 2021Terraces are beautiful, a flashback…Today I went to the terrace of our old apartment where I spent the first 15 years of my life. The wall grabbed my attention, it had wickets drawn on it… Flashback moment, cut to childhood days, roof was such a place of entertainment and fun, I also drew wickets…Memories2 min readMemories2 min read
Mar 27, 2020Using SCSS variables inside your JavaScript, TypeScript or TypeScript JSX filesIf you are familiar to SCSS (I guess that’s why you are here) then you already love the fact that you can have variables in SCSS. You can import the SCSS variables inside your style files and use them the way you want to. “But I want to use these…Scss2 min readScss2 min read