glamboyosa.hashnode.devHow to build an intuitive debit card form with React Hooks & Styled ComponentsHi, in today's blog post we'll be building this: An intuitive debit card form. As you can see, it autofills as we type and most importantly the card flips to the back!! This is a really fun one to build and today we'll be using React (Create React ...Jan 22, 2021·20 min read
glamboyosa.hashnode.devYou probably don't need that useCallback calluseCallback for those of you who may not know is a hook that let's us cache our functions. Now what that means if we can "save" the function. Let me break that down: When our components re-render React creates new functions, nothing in the function ...Mar 28, 2020
glamboyosa.hashnode.devBeing Honest About Your useEffect dependenciesuseEffect is great, it's my absolute favourite Hook but it's got one major rule: BE HONEST ABOUT YOUR DEPENDENCIES. If you're dishonest your linting will kick in and yell at you. I know what you're thinking "what if I want to mimic ComponentDidMount"...Mar 28, 2020
glamboyosa.hashnode.devAn unopinionated way to get dynamic routes in ReactHi, this is going to be a relatively short article. In it, i'm going to show the way I get dynamic routes in my React apps. If you've heard of dynamic routes they are basically routes or parts of routes that aren't hard coded in, the path is dynamic...Feb 20, 2020
glamboyosa.hashnode.devWhat is code splitting and why do we need it in our React apps ?This is a follow up article to An Introduction to React Suspense, there I explained the general idea around Suspense and it's pivotal you read that first as Suspense plays a key part in code splitting An Introduction to React Suspense. So what is co...Feb 20, 2020