DEV Community

React

Official tag for Facebook's React JavaScript library for building user interfaces

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Protip - return from exceptional conditions early

Protip - return from exceptional conditions early

9
Comments
2 min read
Create & Use Helper Functions | React Component

Create & Use Helper Functions | React Component

9
Comments 5
2 min read
What are Props in React?

What are Props in React?

10
Comments
1 min read
How to add an RSS-feed to your Next.js site

How to add an RSS-feed to your Next.js site

22
Comments 2
2 min read
Why you can stop writing all that Redux boilerplate

Why you can stop writing all that Redux boilerplate

8
Comments 2
8 min read
Replace your switch statement and multiple "if and else", using Object Literals - [en-US].

Replace your switch statement and multiple "if and else", using Object Literals - [en-US].

128
Comments 27
3 min read
A Login Form built using React Hooks

A Login Form built using React Hooks

53
Comments 3
1 min read
State machine advent: Anatomy of a state machine 🤖 (2/24)

State machine advent: Anatomy of a state machine 🤖 (2/24)

10
Comments
1 min read
Handling input field updates in React

Handling input field updates in React

15
Comments
4 min read
Updating your existing apps for accessibility

Updating your existing apps for accessibility

14
Comments
6 min read
Allow only numbers in Input in React

Allow only numbers in Input in React

16
Comments 2
4 min read
How To Create Custom Subscription Hook - Custom Hooks ReactJS Mini Course Part 3

How To Create Custom Subscription Hook - Custom Hooks ReactJS Mini Course Part 3

13
Comments
1 min read
Reactjs - useEffect

Reactjs - useEffect

5
Comments 4
1 min read
I made an Emoji Maker using React (DOM) and SVG 🤓

I made an Emoji Maker using React (DOM) and SVG 🤓

148
Comments 15
1 min read
How to display 3D humanoid avatar with React

How to display 3D humanoid avatar with React

35
Comments 3
4 min read
How To Create Custom State Hook - Custom Hooks ReactJS Mini Course Part 1

How To Create Custom State Hook - Custom Hooks ReactJS Mini Course Part 1

19
Comments
1 min read
15 performance tips which you need to know when building React.js application

15 performance tips which you need to know when building React.js application

270
Comments 10
5 min read
Rendering sibling elements in React using Fragments

Rendering sibling elements in React using Fragments

33
Comments
5 min read
State machine advent: The simplest state machine that will improve your code today (1/24)

State machine advent: The simplest state machine that will improve your code today (1/24)

17
Comments 1
2 min read
Markdown in React and Custom Page Elements

Markdown in React and Custom Page Elements

14
Comments
4 min read
How To Create Custom Effect Hook - Custom Hooks ReactJS Mini Course Part 2

How To Create Custom Effect Hook - Custom Hooks ReactJS Mini Course Part 2

10
Comments 1
1 min read
How react profiler can help you to debug performance issues in your react app

How react profiler can help you to debug performance issues in your react app

9
Comments
1 min read
Prefetch lazy-loaded component

Prefetch lazy-loaded component

66
Comments 8
2 min read
Start your app the right way! Featuring React, styled-system, styled components and Typescript

Start your app the right way! Featuring React, styled-system, styled components and Typescript

112
Comments 11
10 min read
Multilingual website with Gatsby and Contentful - Part 3

Multilingual website with Gatsby and Contentful - Part 3

19
Comments 6
2 min read
Learn GatsbyJS by creating a tourism site -1

Learn GatsbyJS by creating a tourism site -1

253
Comments 2
4 min read
Pitfalls of Conditional Rendering and Refs in React

Pitfalls of Conditional Rendering and Refs in React

27
Comments 2
5 min read
Webview native authentication in React Native

Webview native authentication in React Native

13
Comments
9 min read
Concent, born for build large scale and high performance react app

Concent, born for build large scale and high performance react app

8
Comments
11 min read
Introduction: react-boilerplate

Introduction: react-boilerplate

7
Comments
2 min read
React Hooks, Getting in a New Relationship

React Hooks, Getting in a New Relationship

7
Comments 1
2 min read
Making Desktop apps with Electron, React Native, and Expo

Making Desktop apps with Electron, React Native, and Expo

87
Comments 17
4 min read
How to not be a dinosaur.

How to not be a dinosaur.

491
Comments 69
9 min read
Use Hooks + Context, not React + Redux

Use Hooks + Context, not React + Redux

196
Comments 4
8 min read
Introducing Overlayed - Streamer Overlays Powered By React.

Introducing Overlayed - Streamer Overlays Powered By React.

11
Comments
4 min read
React Awesome Reveal v2 Released

React Awesome Reveal v2 Released

7
Comments
1 min read
Creating a Racing Bar Chart – Using React (Hooks) with D3

Creating a Racing Bar Chart – Using React (Hooks) with D3

14
Comments
1 min read
React.js tutorial - Todo list app using local storage

React.js tutorial - Todo list app using local storage

13
Comments
1 min read
🚀 Gatsby + React Native for Web + Expo 🥳

🚀 Gatsby + React Native for Web + Expo 🥳

73
Comments 10
3 min read
Gatsby GraphQL Imports from JSON

Gatsby GraphQL Imports from JSON

9
Comments
3 min read
My React Book is on Sale Again!

My React Book is on Sale Again!

21
Comments
1 min read
The Problem with React's Context API

The Problem with React's Context API

57
Comments 4
11 min read
Module not found: Can't resolve 'react-dom' in 'C:\Users\Public\Desktop\mytestapp\src'"".

Module not found: Can't resolve 'react-dom' in 'C:\Users\Public\Desktop\mytestapp\src'"".

6
Comments 3
1 min read
How to display error messages in a React application

How to display error messages in a React application

62
Comments 1
3 min read
Experimental React: Using Suspense for data fetching

Experimental React: Using Suspense for data fetching

19
Comments
17 min read
JavaScript == VS === The truth

JavaScript == VS === The truth

80
Comments 8
3 min read
Framer Motion Bouncing Ball Animation

Framer Motion Bouncing Ball Animation

13
Comments 1
3 min read
The complete guide to building a smart data table in React

The complete guide to building a smart data table in React

54
Comments
15 min read
Uma breve introdução a React

Uma breve introdução a React

40
Comments 4
4 min read
Substitua sua instrução switch e vários "if and else", usando Object Literals - [pt-BR].

Substitua sua instrução switch e vários "if and else", usando Object Literals - [pt-BR].

62
Comments 7
3 min read
5 ReactJS libraries to make life fun and easy

5 ReactJS libraries to make life fun and easy

45
Comments
2 min read
Recap about Webpack

Recap about Webpack

18
Comments
2 min read
11 free React & Angular Themes and Plugins You Must Have

11 free React & Angular Themes and Plugins You Must Have

87
Comments
7 min read
Building a live flight tracking app in React Native

Building a live flight tracking app in React Native

71
Comments
7 min read
How to Use GraphQL with Ruby on Rails – Part 2 - React + Apollo Frontend

How to Use GraphQL with Ruby on Rails – Part 2 - React + Apollo Frontend

13
Comments
11 min read
CSS & React: How to bounce your logo

CSS & React: How to bounce your logo

62
Comments 2
6 min read
Hooked-Form v4

Hooked-Form v4

19
Comments 2
4 min read
React Bulletin Issue 2

React Bulletin Issue 2

6
Comments
2 min read
Achieve the power of React hooks and composition

Achieve the power of React hooks and composition

25
Comments
3 min read
JavaScript - Closure in depth

JavaScript - Closure in depth

192
Comments 16
7 min read
loading...