Luísa Ribeiro BezerraforLuísa Ribeiro Bezerraluisarbezerra.hashnode.net·Nov 24, 2020Axios vs. Fetch: which should I use?When we enter the world of computing, there are so many packages, options and paths to follow that it is normal to feel a little lost. For example, when we are making HTTP requests, which way should we go? In this post, I will cover the Axios libra...Edidiong Asikpo (Didi) and 13 others are discussing this14 people are discussing thisDiscuss·181 likes·4.2K readsaxios
Hetav DesaiforHetav's Notesdesaihetav.hashnode.net·Jun 14, 2021FeaturedUsing GraphQL with Axios and ReduxHello folks, in this article I'll be showing you how you can use GraphQL with Axios and Redux, along with error handling. This is not a beginner tutorial. Hence a basic understanding of how GraphQL, Axios, and Redux work will be helpful. And if you a...Suyash Pradhan and 4 others are discussing this5 people are discussing thisDiscuss·168 likes·3.2K readsReact
Ilango RajagopalforIlango Rajagopalilango.hashnode.net·Aug 25, 2021FeaturedSupercharging data fetching in React with SWRWhat is SWR? Typically, when we call a REST API, we use fetch or a third-party library like axios, or, god forbid, $.ajax and XHR. The browser then makes an HTTP call and accepts a response. While the call is being made, the user waits, usually stari...Tapas Adhikary and 3 others are discussing this4 people are discussing thisDiscuss·105 likes·587 readsReactNice to see people moving towards SWR. 3
TopGunforTop Gun 🚀ankushsrj.hashnode.net·Apr 19, 2023React Native API Integration: Fetch() vs Axios for GET and POST RequestsFetch Method: Here's an example of how to use fetch() for both GET and POST requests in React Native: GET Request: javascriptCopy codefetch('https://example.com/api/data') .then((response) => response.json()) .then((data) => { console.log(dat...Discuss·38 readsReact Native
Himanshu Chauhanforhimanshuchauhan.hashnode.net·Apr 2, 2023React and its supportive libraries environmentReact is a very popular Frontend library. For every purpose, they're many different libraries to do that thing. This is a very difficult task to identify a correct library to solve the problem. To develop a site there are many tasks to do like Form h...Discuss·1 likeReact
Md Aarzoo IslamforAarzooaarzoo75.hashnode.net·Mar 30, 2023Mastering API Calls with Axios: A Beginner's GuideWhat is Axios Axios is a popular JavaScript library used for making HTTP requests from a web browser or Node.js. Whether you're building a web app or a server-side application, Axios makes it easy to work with APIs and other HTTP servers. In this b...Discuss·1 likeaxios
Rforblackc4tblackc4t.hashnode.net·Mar 29, 2023React Native json-server, AXIOS and Error Code 500In this blog, I'll document my experience as a beginner in fetching data. I will try to show how to get data and also solutions for the problems you may encounter while trying to get data from APIs and your localhost. First let's look at using json-s...Discuss·44 readsjson-server
Subramanya M RaoforSubramanya's Blogsubramanyarao.hashnode.net·Mar 20, 2023Learn React by building a Love Calculator App❤If you love to understand concepts by building a project or are into project-based learning, this is the best tutorial for you. This is a cool lil project one can build with basic concepts of React JS. Steps involved📝 Create a new React App. Buil...Discuss·59 readsReact
Vaibhav KumarforVaibhav Kumarvaibhavwrites.hashnode.net·Mar 19, 2023Learn the basics of Axios in just 4 simple methodsAxios is a popular JavaScript library that provides a simple way to send HTTP requests and handle responses. In this blog post, we'll cover everything you need to know about using Axios, from the basics to more advanced features. Getting Started with...DiscussJavaScriptaxios
JaeChan LeeforJaello World!jaello-world.hashnode.net·Mar 15, 2023Handle BigInt Data on JavaScriptError Meet Error I meet the below error when I use axios with bigint data. Why did this error appear in the console? I investigated why this error occurred. The information was found on JSON stringify #execptions. Why can't JSON.stringify serialize...Discuss·49 readsVue.js
JaeChan LeeforJaello World!jaello-world.hashnode.net·Mar 14, 2023Make Object Oriented Types with AxiosBefore Begining I have been struggling over the past two days to figure out the best way to write code in TypeScript while adhering to the SOLID principles. Specifically, I have been designing a class that uses Axios to communicate with a REST API. I...Discuss·30 readsSOLID principles
JaeChan LeeforJaello World!jaello-world.hashnode.net·Mar 13, 2023Axios Interceptors with TypeScriptWhat is Axios Interceptors? I asked ChatGPT what Axios Interceptors are. Axios Interceptors are a powerful feature that allows you to intercept and modify HTTP requests and responses in your application. By using TypeScript to define the types of yo...Discuss·2 likes·652 readsaxios
Olaojo J. Moyosore forMoyosore’s blogmoyosoree.hashnode.net·Mar 12, 2023Javascript HTTP Requests: All You Need To Know.Introduction. As a Software Developer, you'll often need to send HTTP requests to get data from databases. This could be simple data like the number of votes a particular candidate has received in an online pool or even more complex data like a user'...Demilade Otemuyiwa and 1 other are discussing this2 people are discussing thisDiscuss·18 likes·180 readsJavaScript