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.
Writing better conditional expressions in JavaScript

Writing better conditional expressions in JavaScript

61
Comments 6
4 min read
An Awesome Command Handler for your Discord.js Bot

An Awesome Command Handler for your Discord.js Bot

5
Comments
4 min read
How to Manage Multiple Threads in Node JS

How to Manage Multiple Threads in Node JS

121
Comments 12
6 min read
Learning react as a Vue developer

Learning react as a Vue developer

38
Comments 14
3 min read
Contact form in material UI and firestore

Contact form in material UI and firestore

6
Comments
2 min read
Display Vue examples inside VuePress documentation

Display Vue examples inside VuePress documentation

7
Comments
2 min read
Learning React

Learning React

57
Comments 8
6 min read
Hidden gems of the Chrome DevTools, Part 1: The Console API

Hidden gems of the Chrome DevTools, Part 1: The Console API

41
Comments
5 min read
If (all) else is complicated, switch to switch?

If (all) else is complicated, switch to switch?

25
Comments 30
1 min read
Database, Table and Column naming conventions

Database, Table and Column naming conventions

29
Comments 3
3 min read
A full comparison of 6 JS libraries for generating PDFs

A full comparison of 6 JS libraries for generating PDFs

289
Comments 26
5 min read
Using TypeScript Project References to share common code

Using TypeScript Project References to share common code

65
Comments 6
3 min read
Regex Cheat Sheet (Javascript Edition)

Regex Cheat Sheet (Javascript Edition)

10
Comments
2 min read
use-spinner - Show loading spinners for your asynchronous calls

use-spinner - Show loading spinners for your asynchronous calls

28
Comments 3
1 min read
230. Kth Smallest Element in a BST (javascript solution)

230. Kth Smallest Element in a BST (javascript solution)

6
Comments
1 min read
JavaScript Classes Part-3

JavaScript Classes Part-3

9
Comments
3 min read
NodeJS Express Test-Driven API Development (TDD)

NodeJS Express Test-Driven API Development (TDD)

15
Comments
1 min read
Let's build a responsive navbar and hamburger menu using HTML, CSS, and Javascript.

Let's build a responsive navbar and hamburger menu using HTML, CSS, and Javascript.

401
Comments 65
4 min read
Using media queries with JavaScript

Using media queries with JavaScript

208
Comments 7
3 min read
How to use Vercel Analytics with SvelteKit

How to use Vercel Analytics with SvelteKit

11
Comments
8 min read
Solving the Maintenance Nightmare with React Testing Library

Solving the Maintenance Nightmare with React Testing Library

66
Comments 2
4 min read
How to learn JavaScript by doing coding tasks in a professional IDE with hints?

How to learn JavaScript by doing coding tasks in a professional IDE with hints?

27
Comments
2 min read
Create a reusable table with react, styled-components and compound components design pattern

Create a reusable table with react, styled-components and compound components design pattern

68
Comments 3
4 min read
Make an object from a 2D array of key-value pairs (bonus: it's a one-liner!)

Make an object from a 2D array of key-value pairs (bonus: it's a one-liner!)

5
Comments
1 min read
Deploy Rails API on Heroku and Vanilla JavaScript on Netlify

Deploy Rails API on Heroku and Vanilla JavaScript on Netlify

6
Comments 4
3 min read
React useThrottle hook with usage example

React useThrottle hook with usage example

85
Comments 3
1 min read
Learning to Appreciate React Server Components

Learning to Appreciate React Server Components

104
Comments 8
8 min read
ETL: Transform Data with Node.js

ETL: Transform Data with Node.js

2
Comments 1
6 min read
Solution: Longest Valid Parentheses

Solution: Longest Valid Parentheses

19
Comments 4
4 min read
Improving web performance and Lighthouse performance results

Improving web performance and Lighthouse performance results

136
Comments
3 min read
Callbacks in Javascript

Callbacks in Javascript

3
Comments
3 min read
Refactoring IF, a real exercise

Refactoring IF, a real exercise

30
Comments 7
4 min read
#1 Getting started with Preact - Preact Series

#1 Getting started with Preact - Preact Series

8
Comments
2 min read
What a React developer needs to know in 2021

What a React developer needs to know in 2021

432
Comments 26
4 min read
Faster Vue App page load by lazy loading youtube and Vimeo embed

Faster Vue App page load by lazy loading youtube and Vimeo embed

9
Comments
2 min read
Understanding ESLint Configuration

Understanding ESLint Configuration

15
Comments 2
2 min read
Herencia Prototipal en JavaScript con la ayuda de Shingeki no Kyojin

Herencia Prototipal en JavaScript con la ayuda de Shingeki no Kyojin

7
Comments
10 min read
5 neat JavaScript tips

5 neat JavaScript tips

370
Comments 28
3 min read
Building a RESTful API with NestJS and MongoDB (Mongoose)

Building a RESTful API with NestJS and MongoDB (Mongoose)

156
Comments 22
8 min read
Eslint vs Performance

Eslint vs Performance

7
Comments
2 min read
#3 Adding MongoDB to react-express-graphql project

#3 Adding MongoDB to react-express-graphql project

6
Comments
2 min read
Discovering Observer Web APIs

Discovering Observer Web APIs

17
Comments
6 min read
Use of for in loop

Use of for in loop

11
Comments
1 min read
JavaScript Array methods: Filter, Map, Reduce, and Sort

JavaScript Array methods: Filter, Map, Reduce, and Sort

25
Comments 4
5 min read
How to access localhost from the Internet?

How to access localhost from the Internet?

219
Comments 16
3 min read
For...of Loop Refactoring

For...of Loop Refactoring

7
Comments
1 min read
My javascript / tech / web development newsletter for 2021-04-03 is out!

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

2
Comments
1 min read
5 things I'm thinking about when I check a Pull Request for accessibility

5 things I'm thinking about when I check a Pull Request for accessibility

139
Comments 5
5 min read
WhatsUp - front-end framework based on ideas of streams and fractals

WhatsUp - front-end framework based on ideas of streams and fractals

28
Comments 4
6 min read
Getting started with Vue 3 + Pinia Store + TypeScript by building a Grocery List App

Getting started with Vue 3 + Pinia Store + TypeScript by building a Grocery List App

52
Comments 5
4 min read
JS Objects: Destructure, Rename, & Default all in 1 Line

JS Objects: Destructure, Rename, & Default all in 1 Line

5
Comments
2 min read
Creating a Currency Converter with pure JS with exchangerate api

Creating a Currency Converter with pure JS with exchangerate api

5
Comments
3 min read
Leaking and Non-Leaking Arrow Functions in JavaScript

Leaking and Non-Leaking Arrow Functions in JavaScript

6
Comments
2 min read
Awesome Loading CSS Animation

Awesome Loading CSS Animation

21
Comments 2
1 min read
Basic face recognition with Tensorflow.js

Basic face recognition with Tensorflow.js

38
Comments 1
3 min read
Produtividade no front-end com a utilização de mocks.

Produtividade no front-end com a utilização de mocks.

11
Comments 3
3 min read
Enhance your code reading experience on GitHub

Enhance your code reading experience on GitHub

51
Comments 21
2 min read
JavaScript Array.some() or Array.every()?

JavaScript Array.some() or Array.every()?

33
Comments 6
2 min read
MY FIRST YEAR CODING STORY

MY FIRST YEAR CODING STORY

3
Comments
4 min read
The New npm diff Command

The New npm diff Command

14
Comments
6 min read
loading...