jayprakash07.hashnode.devWhy I prefer axios over fetch() ?A while ago I published a blog on how to use Axios to fetch data in your react app . Nevertheless, it's important to acknowledge the fact that Axios won't always be the ideal solution, and that there are sometimes better options. I, like many other...Jan 18, 2022·3 min read
jayprakash07.hashnode.devUsing React Router in your React appWhat is an SPA? A single-page application (SPA) is a website that re-renders its content in response to navigation actions (e.g. clicking a link) without making a request to the server to fetch new HTML. Why react uses React Router? In general, when ...Nov 13, 2021·3 min read
jayprakash07.hashnode.devUsing axios to fetch data in your React appsIn our React applications we often need to retrieve data from external APIs so it can be displayed in our web pages. Axios is designed to handle http requests and responses. Axios deals with responses using promises, so it's streamlined and easy to ...Mar 4, 2021·2 min read
jayprakash07.hashnode.devTypewriter effect in your React app.A lot of websites nowadays contain texts that simulate typing effect, eraser effect and a blinking cursor. Demo Let's create a simple typewriter effect where we get to display a couple of words repeatedly on loop one after the other and that too as ...Feb 6, 2021·2 min read
jayprakash07.hashnode.devundefined vs not defined in JSLet's understand the difference between undefined and not defined in JavaScript. undefined Whenever a JS code is executed, a Global Execution Context is created. During the first phase(memory allocation phase), all the variables are assigned a valu...Jan 20, 2021·2 min read