React

React + TypeScript: Handling input onChange event

Updated: March 3, 2023 By: Napoleon

This tutorial is intended for developers who are new to React or looking to transition from using Javascript to TypeScript. We will build a simple app with functional components and hooks to demonstrate how to handle…

How to create a Filter/Search List in React (updated)

Updated: March 6, 2024 By: A Goodman

This article walks you through a complete example of making a filter (searchable) list in React. We’ll use the most recent stable version of React (18.3) as well as use functional components and hooks. The Example…

Top 4 best React form validation libraries (2024)

Updated: March 6, 2024 By: Guest Contributor

Form validation is an important part of many web and mobile applications. In React, you can write the validation logic on your own, but if you’re working on a production project, this job can cost much…

React warning: findDOMNode is deprecated in StrictMode (2 solutions)

Updated: March 6, 2024 By: Guest Contributor

The Problem When working with React.js, you will probably come across an annoying warning: The Root Of The Problem If you follow the link provided in the warning, you’ll see some helpful information from the React…

React useReducer hook – Tutorial and Examples

Updated: February 13, 2023 By: Guest Contributor

useReducer is a built-in React hook. In this article, you will learn what the useReducer hook is, what it is used for, when to choose the useReducer hook, and when to choose the useState hook. To…

2 ways to display Math Symbols in React

Updated: February 13, 2023 By: A Goodman

When you build a React application for the natural sciences and math, it is obvious that you will have to display formulas, equations, statements, etc, with lots of special characters like radical symbols, pi, exponent, integral,…

React Router useLocation hook – Tutorial and Examples

Updated: March 3, 2023 By: Napoleon

It’s 2023, and React Router is the most popular library for routing and navigation in React. At its heart, React Router is a state container for the current location or URL. It keeps track of the…

React Router: Programmatically Navigate on Button Click

Updated: March 3, 2023 By: A Goodman

React Router (react-router-dom) is one of the most popular React libraries, with over 50k stars on GitHub and nearly 8 million downloads per week on npmjs. In this article, you will learn how to programmatically navigate…

Most popular React Component UI Libraries (2024)

Updated: March 6, 2024 By: Guest Contributor

These days, React.js is the world’s most popular Javascript web frontend framework, and you can see a huge number of tech giants using it for their products, including Facebook, Instagram, Netflix, and Shopee. With the rapid…

How to fetch data from APIs with Axios and Hooks in React

Updated: March 3, 2023 By: A Goodman

Introduction Fetching data (sending GET requests) is one of the most common stuff in React development. In this tutorial, you’ll learn how to use the useState hook, the useEffect hook, and Axios to fetch JSON format…

How to get rid of Source Maps when building a React project

Updated: February 13, 2023 By: A Goodman

If you use create-react-app to initialize your React application, then source map files are generated by default when you build production code with the following command: or: In general, you can find the source map files…

React: Make a simple line chart with Ant Design

Updated: January 19, 2023 By: A Goodman

This article shows you how to draw a simple line chart in React with the help of the Ant Design Chart library. 1. Installing the package: 2. Implementing the line chart in React code: You can…

1 7 8 9 10 11