With all these new fangled terms you see on a lot of social medias ( MERN, MEAN, MEVN, Headless CMS, JAM Stack, Server-less ), beginners tend to get overwhelmed with all these things. If you are overwhelmed, it’s a good thing to know how everything generally fits in. Here’s a diagram that tells you straight:
From the diagram above we can see that their are two ways in making a full stack application, either we host two different applications and communicate through an API or the API itself is the one serving HTML.
We can also see that the backend…
If you recently started learning web development and are now at the point where you want to use npm packages or maybe frameworks like React, you need to know the distinction between two things. The browser and Node.js.
Before reading this, you should know the basics of states and props, and that every time they change, the whole component re-renders.
To start useEffect and other react hooks, one must know what the lifecycle of components in react is. Here’s a diagram that tells you straight:
It’s a simple diagram but really shows what it is in a nutshell. What makes the useEffect hook great is that it can be used in all phases of the lifecycle. So let’s get right into it.
useEffect can be used to run code on each update or re-render of the component it’s…
I make simple yet exhaustive content on web development.