Tag: react

Understanding React's useFormState and useFormStatus Hooks

Understanding React’s useFormState and useFormStatus Hooks

Dev

React released two Hooks intended to help with forms: useFormState and useFormStatus. Learn how to use them in your forms in this post.

Hussain Arif
Dec 21, 2023 ⋅ 6 min read
How To Test React Hooks With Jest, Enzyme, And React Testing Library

How to test React Hooks

Dev

Testing your React app is a necessity, but testing Hooks can get a bit complicated. Learn how to test Hooks multiple ways in this guide.

Yomi Eluwande
Dec 18, 2023 ⋅ 11 min read
Why React Doesn’t Update State Immediately

Why React doesn’t update state immediately

Dev

State updates in React are asynchronous; when an update is requested, there is no guarantee that the updates will be made immediately.

Chiamaka Umeh
Dec 12, 2023 ⋅ 3 min read
Using DangerouslySetInnerHTML In A React Application

Using dangerouslySetInnerHTML in a React application

Dev

Learn how to use dangerouslySetInnerHTML, the replacement for the innerHTML property in React, and safely apply it to your code.

Doğacan Bilgili
Dec 12, 2023 ⋅ 4 min read
Persist State With Redux Persist Using Redux Toolkit In React

Persist state with Redux Persist using Redux Toolkit in React

Dev

With Redux Persist, developers can save the Redux store in persistent storage so even after refreshing the browser, the site state will be preserved.

Taminoturoko Briggs
Dec 7, 2023 ⋅ 12 min read
Build Full-Stack App React Goxygen

Build a full-stack app with React and Goxygen

Dev

We show how to use Goxgen to scaffold a full-stack React app. See how to integrate React with Go and modify Goxygen to suit your project requirements.

Clara Ekekenta
Dec 6, 2023 ⋅ 8 min read
9 Ways To Deploy A React App For Free

9 ways to deploy a React app for free

Dev

Check out these nine different ways to deploy a React app for free, including Vercel, Firebase, and Cloudflare Pages.

Ashutosh Singh
Nov 30, 2023 ⋅ 11 min read
MERN Stack: Complete Guide

The MERN stack tutorial

Dev

This article covers the basics of the MERN stack and demonstrates how to use it by developing a simple CRUD application from scratch.

Nur Islam
Nov 29, 2023 ⋅ 20 min read
Deploying React Apps To GitHub Pages

Deploying React apps to GitHub Pages

Dev

This article covers how to use GitHub Pages to convert a React app into a static website, as well as how to create a custom domain.

Nelson Michael
Nov 27, 2023 ⋅ 9 min read
Getting Started With Bun And React

Getting started with Bun and React

Dev

Bun is a JavaScript runtime that offers a rich set of features, great speed, and is comparable to Node.js and Deno.

Nelson Michael
Nov 23, 2023 ⋅ 7 min read
What Are React Pure Functional Components

What are React pure functional components?

Dev

Explore the React.memo API, learn the differences between functional and class components in React, and then review pure components.

Glad Chinda
Nov 21, 2023 ⋅ 5 min read
React Suspense: Async Rendering In React

Async rendering in React: Suspense, Hooks, and other methods

Dev

Implement React Suspense to manage async operations, and compare it with other async rendering methods such as the `useEffect` and `useEffect Hooks`.

Yomi Eluwande
Nov 13, 2023 ⋅ 10 min read