DEV Community

JavaScript

Once relegated to the browser as one of the 3 core technologies of the web, JavaScript can now be found almost anywhere you find code. JavaScript developers move fast and push software development forward; they can be as opinionated as the frameworks they use, so let's keep it clean here and make it a place to learn from each other!

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
useReducer Hook for functional components.

useReducer Hook for functional components.

40
Comments
2 min read
Handle errors gracefully with React Error Boundary

Handle errors gracefully with React Error Boundary

193
Comments 9
4 min read
Solution: Rotate Image

Solution: Rotate Image

13
Comments 1
4 min read
Building RestAPI Server Using NodeJS and Express | Beginners

Building RestAPI Server Using NodeJS and Express | Beginners

34
Comments 6
1 min read
Nicely asking our users to update the app through an XSS attack

Nicely asking our users to update the app through an XSS attack

6
Comments
3 min read
How to Build a Color Wheel with Tints & Shades

How to Build a Color Wheel with Tints & Shades

49
Comments 11
2 min read
How to Communicate between Components in Vue.js

How to Communicate between Components in Vue.js

33
Comments
4 min read
Why and how we built Distributed with Next.js and Micro

Why and how we built Distributed with Next.js and Micro

4
Comments
7 min read
Build Your First Reusable Components Using React

Build Your First Reusable Components Using React

31
Comments 4
4 min read
Pair programming for the winner!

Pair programming for the winner!

5
Comments
2 min read
LeetCode 63. Unique Paths II (javascript solution)

LeetCode 63. Unique Paths II (javascript solution)

6
Comments 1
1 min read
How to send custom emails from a spreadsheet using google apps script.

How to send custom emails from a spreadsheet using google apps script.

2
Comments
3 min read
LeetCode 70. Climbing Stairs (javascript solution)

LeetCode 70. Climbing Stairs (javascript solution)

3
Comments 1
1 min read
vue 3 ecommerce

vue 3 ecommerce

20
Comments 2
1 min read
LeetCode 62. Unique Paths (javascript solution)

LeetCode 62. Unique Paths (javascript solution)

7
Comments 1
1 min read
What is "this"? Why you should avoid arrow functions on Vue methods

What is "this"? Why you should avoid arrow functions on Vue methods

31
Comments 8
3 min read
Learning process in Javascript

Learning process in Javascript

1
Comments
1 min read
build a social media website with Next JS and Firebase

build a social media website with Next JS and Firebase

31
Comments 2
1 min read
Supercharge Your Website Using PWA: Installable Website

Supercharge Your Website Using PWA: Installable Website

253
Comments 11
4 min read
Using 11ty JavaScript Data files to mix Markdown and CMS content into one collection

Using 11ty JavaScript Data files to mix Markdown and CMS content into one collection

9
Comments
9 min read
Accepting payments with Stripe, Nuxt. js and vercel

Accepting payments with Stripe, Nuxt. js and vercel

135
Comments 9
4 min read
How to Send Notifications in Chrome Extensions

How to Send Notifications in Chrome Extensions

26
Comments
6 min read
Ultimate NodeJs Resources

Ultimate NodeJs Resources

14
Comments
1 min read
👨‍🔬 Why The DOM Causes Negative Enthalpy! - Learning Frontend Deeply - Part 2

👨‍🔬 Why The DOM Causes Negative Enthalpy! - Learning Frontend Deeply - Part 2

12
Comments
14 min read
Have you tried using JŌTAI with React yet?

Have you tried using JŌTAI with React yet?

6
Comments
1 min read
Primitives values and JavaScript Objects

Primitives values and JavaScript Objects

4
Comments
2 min read
Web Components using UnknownHTMLElements for better semantic HTML

Web Components using UnknownHTMLElements for better semantic HTML

17
Comments
4 min read
My javascript / tech / web development newsletter for 2021-04-24 is out!

My javascript / tech / web development newsletter for 2021-04-24 is out!

2
Comments
1 min read
Daily dose of JavaScript

Daily dose of JavaScript

3
Comments
1 min read
How to build a Fabulous Todo App using React, Redux and Framer-Motion

How to build a Fabulous Todo App using React, Redux and Framer-Motion

73
Comments 12
7 min read
JavaScript function add(1)(2)(3)(4) to achieve infinite accumulation-step by step principle analysis

JavaScript function add(1)(2)(3)(4) to achieve infinite accumulation-step by step principle analysis

14
Comments 4
2 min read
Learn basic Web Components

Learn basic Web Components

138
Comments 14
6 min read
Solution: Critical Connections in a Network

Solution: Critical Connections in a Network

10
Comments
5 min read
My First Personal Site! 📣

My First Personal Site! 📣

282
Comments 65
3 min read
LeetCode Palindrome Number

LeetCode Palindrome Number

2
Comments
3 min read
Leetcode in JS: Matrix Zeros

Leetcode in JS: Matrix Zeros

10
Comments
7 min read
A simple way to use Web Worker with React-Create-APP - No eject needed

A simple way to use Web Worker with React-Create-APP - No eject needed

20
Comments 2
2 min read
Question 16 : JavaScript in-depth 4 types of common memory leaks and how to avoid

Question 16 : JavaScript in-depth 4 types of common memory leaks and how to avoid

7
Comments
4 min read
Understanding the React useEffect() Hook

Understanding the React useEffect() Hook

33
Comments
6 min read
How to Hide your React Source Code from Chrome Dev Tools when Deployed to Production

How to Hide your React Source Code from Chrome Dev Tools when Deployed to Production

82
Comments 24
2 min read
When to Use these String Methods in JavaScript

When to Use these String Methods in JavaScript

32
Comments
7 min read
My Lessons From 3 Failed Interviews As A Developer

My Lessons From 3 Failed Interviews As A Developer

58
Comments 5
6 min read
JavaScript Interview Questions and Answers you should know - Junior and Senior

JavaScript Interview Questions and Answers you should know - Junior and Senior

90
Comments 4
4 min read
ReasonML & Rescript in 5 minutes

ReasonML & Rescript in 5 minutes

30
Comments 4
2 min read
Using Recursion to Create a Countdown

Using Recursion to Create a Countdown

4
Comments
1 min read
Get extent of WMS layer dynamically in Leafletjs

Get extent of WMS layer dynamically in Leafletjs

6
Comments
2 min read
Tagged Union in React.Js with TypeScript and how to respect your props.

Tagged Union in React.Js with TypeScript and how to respect your props.

19
Comments 7
3 min read
How to clone object except for one or some keys

How to clone object except for one or some keys

11
Comments
1 min read
From String to Array to String

From String to Array to String

21
Comments
8 min read
Type Conversion In Modern Javascript - Part I

Type Conversion In Modern Javascript - Part I

5
Comments
2 min read
The Ember Times - Issue No. 178

The Ember Times - Issue No. 178

6
Comments
6 min read
Add Custom Fonts in React Native 0.63 >= for android and iOS

Add Custom Fonts in React Native 0.63 >= for android and iOS

4
Comments
2 min read
How can make a website standard?

How can make a website standard?

8
Comments 2
1 min read
My Favorite JS String Methods

My Favorite JS String Methods

9
Comments 4
8 min read
Top 10 React projects for Resume 🚀🚀

Top 10 React projects for Resume 🚀🚀

234
Comments 9
1 min read
Cheatsheet for the Regex Cheatsheet, Part II: Character Classes

Cheatsheet for the Regex Cheatsheet, Part II: Character Classes

10
Comments
3 min read
JavaScript Interview Question #35: What is faster, zero timeout, or immediate resolve?

JavaScript Interview Question #35: What is faster, zero timeout, or immediate resolve?

50
Comments 5
1 min read
From String to Array to String

From String to Array to String

14
Comments 1
8 min read
JS: Sort an Array of Objects on multiple columns/keys

JS: Sort an Array of Objects on multiple columns/keys

75
Comments 2
3 min read
Finding DOM element by data-role in Phoenix LiveView testing

Finding DOM element by data-role in Phoenix LiveView testing

6
Comments
3 min read
loading...