11 Guides

react

How to upload files in React app using Axios?

In this guide we will walk you through the process of uploading files in a React app with Axios, including handling server responses and leveraging the FormData object for easy file uploads.

How to use the Fetch API with React?

In this guide, we will explore how to use the Fetch API with React to fetch data from a remote server and display it in a React component.

How to consume GraphQL APIs in React using URQL?

Today, more and more applications are using GraphQL APIs. There are multiple ways to consume them in React, and URQL is one of them.

How to Manage API Calls in React Applications?

React is the most popular front-end JavaScript library. This guide will describe the different ways you can use to manage API calls in your React applications.

How to fetch data from APIs using SWR Hooks in React?

SWR is a lightweight hooks library for data fetching. It allows you to utilize APIs in your React applications with features like built-in caching, TypeScript support, and revalidation. This guide will demonstrate how to use them.

How to consume GraphQL APIs in React using Apollo

Today, more and more applications are using GraphQL APIs. If you are using React, you can choose from multiple ways to consume a GraphQL API, and Apollo is one of them.

How to display loading state during API Calls in React?

Loading states ensure a better user experience during data fetching from APIs. Let's see how we display a loading indicator in React.

4 Ways to Fetch Data from a GraphQL API in React

GraphQL APIs are a tad bit different from other types like REST in implementation. Let's go through four ways we can use GraphQL APIs in React.

How to use a GraphQL API in React using Axios?

The process of consuming GraphQL APIs differs from other APIs, such as REST. Let's see how we can use them in React using Axios.

How to fetch data from APIs using React Hooks?

React Hooks are the way to go if you want to utilize an API in your React application. This guide will demonstrate how to use them for calling APIs in React.

How to Create a Text Sentiment Analysis App using React

Text sentiment analysis is a machine learning and natural language processing technique to analyze the text sentiment of a writer.