JKJAY KALIAinjayprakash07.hashnode.dev·Jan 18, 2022 · 3 min readWhy 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...00
JKJAY KALIAinjayprakash07.hashnode.dev·Nov 13, 2021 · 3 min readUsing 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 ...00
JKJAY KALIAinjayprakash07.hashnode.dev·Mar 4, 2021 · 2 min readUsing 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 ...00
JKJAY KALIAinjayprakash07.hashnode.dev·Feb 6, 2021 · 2 min readTypewriter 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 ...00
JKJAY KALIAinjayprakash07.hashnode.dev·Jan 20, 2021 · 2 min readundefined 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...00