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.
How Django meets htmx: A quick tour of modern server side rendering.

How Django meets htmx: A quick tour of modern server side rendering.

9
Comments
4 min read
More then 10 String cases - I didn't knew about before today

More then 10 String cases - I didn't knew about before today

2
Comments
1 min read
CommonJS and ESM import/export compatibility, by example

CommonJS and ESM import/export compatibility, by example

11
Comments 2
4 min read
Snippet... QR Code - Yes it's that easy to generate a QR Code

Snippet... QR Code - Yes it's that easy to generate a QR Code

4
Comments
1 min read
Snippets... JSON

Snippets... JSON

6
Comments
1 min read
Deploying a React Application to AWS Cloudfront

Deploying a React Application to AWS Cloudfront

6
Comments
6 min read
Day 28 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#166. Fraction to Recurring Decimal(Med/JavaScript)

Day 28 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#166. Fraction to Recurring Decimal(Med/JavaScript)

8
Comments
5 min read
Building 404 Pages that Bring Joy

Building 404 Pages that Bring Joy

7
Comments
6 min read
How to create a three state toggle switch using html, css and javascript

How to create a three state toggle switch using html, css and javascript

11
Comments
4 min read
React 18 release candidate mode is finally here!!

React 18 release candidate mode is finally here!!

9
Comments 2
3 min read
Discord Bot Blowup

Discord Bot Blowup

5
Comments
4 min read
Promisifying CSS animation with timeout fallback

Promisifying CSS animation with timeout fallback

3
Comments
3 min read
How to block requests with Puppeteer

How to block requests with Puppeteer

9
Comments
3 min read
Creating Custom Types in Typescript

Creating Custom Types in Typescript

22
Comments
2 min read
The javascript module pattern

The javascript module pattern

9
Comments
2 min read
SOLID principle #1: Single responsibility (JavaScript)

SOLID principle #1: Single responsibility (JavaScript)

12
Comments 2
2 min read
Mocking axios in Jest tests with Typescript

Mocking axios in Jest tests with Typescript

11
Comments
4 min read
An introduction to Scala

An introduction to Scala

6
Comments
3 min read
¿Qué son los empty-statement en javascript? ¿Existen casos de uso?

¿Qué son los empty-statement en javascript? ¿Existen casos de uso?

4
Comments
2 min read
3 Minutes to Orbiton JS | The Ultimate JavaScript UI library

3 Minutes to Orbiton JS | The Ultimate JavaScript UI library

8
Comments 2
4 min read
Create an RxJS Observable

Create an RxJS Observable

18
Comments
2 min read
Scroll to the top with JS

Scroll to the top with JS

41
Comments
3 min read
React.js tips for better performance. Part 1

React.js tips for better performance. Part 1

8
Comments
1 min read
odd or even large number with react window instead of web worker

odd or even large number with react window instead of web worker

3
Comments
3 min read
Data Fetching in Next.js v12.1 Simplified (with use cases)

Data Fetching in Next.js v12.1 Simplified (with use cases)

21
Comments 1
5 min read
Modern Web Development with the Modern Cloud

Modern Web Development with the Modern Cloud

10
Comments
6 min read
Nextless.js on Product Hunt 🚀 Full-stack React SaaS Boilerplate

Nextless.js on Product Hunt 🚀 Full-stack React SaaS Boilerplate

6
Comments
1 min read
Battle of the JavaScript for loops (for, for…in, for…of, forEach, etc.)

Battle of the JavaScript for loops (for, for…in, for…of, forEach, etc.)

8
Comments
3 min read
Code highlighting in code blocks

Code highlighting in code blocks

2
Comments
1 min read
SOLID principle #5: Dependency Inversion (JavaScript)

SOLID principle #5: Dependency Inversion (JavaScript)

9
Comments
2 min read
When to Use Node.js for Back-End - Guide for Business Owners

When to Use Node.js for Back-End - Guide for Business Owners

13
Comments
5 min read
How to Detect Mobile Browsers with JavaScript

How to Detect Mobile Browsers with JavaScript

7
Comments
4 min read
Can I use hover on Touch Devices?

Can I use hover on Touch Devices?

6
Comments 2
4 min read
SOLID principle #3: Liskov Substitution (JavaScript)

SOLID principle #3: Liskov Substitution (JavaScript)

7
Comments 1
1 min read
LeetCode problem #1 — Two-sum (JavaScript)

LeetCode problem #1 — Two-sum (JavaScript)

6
Comments
3 min read
Node, NPM, Yarn & NVM

Node, NPM, Yarn & NVM

6
Comments
1 min read
How onDestroy() lifecycle function works in Svelte?

How onDestroy() lifecycle function works in Svelte?

6
Comments
2 min read
Why Doesn't React's useState Hook Merge Objects?

Why Doesn't React's useState Hook Merge Objects?

6
Comments
2 min read
Getting Started with HTML5 Canvas

Getting Started with HTML5 Canvas

8
Comments 1
4 min read
LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

6
Comments 1
2 min read
What Is Node.js - Guide for Business Owners

What Is Node.js - Guide for Business Owners

6
Comments
5 min read
What are your go to Node.js resources?

What are your go to Node.js resources?

90
Comments 15
1 min read
SOLID principle #2: Open-Closed (JavaScript)

SOLID principle #2: Open-Closed (JavaScript)

4
Comments
1 min read
LeetCode problem #4 — Median of two sorted arrays (JavaScript)

LeetCode problem #4 — Median of two sorted arrays (JavaScript)

2
Comments
2 min read
SOLID principle #4: Interface Segregation (JavaScript)

SOLID principle #4: Interface Segregation (JavaScript)

3
Comments
1 min read
Building a HTTP Tunnel with WebSocket and Node.JS Stream

Building a HTTP Tunnel with WebSocket and Node.JS Stream

8
Comments
4 min read
How to use Tailwind CSS with a React App

How to use Tailwind CSS with a React App

6
Comments
3 min read
Creating a Node.js SQL Library

Creating a Node.js SQL Library

30
Comments 2
4 min read
Call, Apply and Bind in JavaScript

Call, Apply and Bind in JavaScript

4
Comments
3 min read
Automagically Retry Your Flaky E2E Tests with Cypress

Automagically Retry Your Flaky E2E Tests with Cypress

7
Comments
2 min read
25 NPM Packages for Developers to Boost Productivity

25 NPM Packages for Developers to Boost Productivity

14
Comments 4
4 min read
Arrays in Javascript

Arrays in Javascript

5
Comments
1 min read
CSRF Protection in Next.js

CSRF Protection in Next.js

14
Comments 10
2 min read
Plot Cheatsheets: Interactive notebooks for learning visualization with JavaScript

Plot Cheatsheets: Interactive notebooks for learning visualization with JavaScript

8
Comments
2 min read
How to Use NextJS Loader for Page Transitions

How to Use NextJS Loader for Page Transitions

9
Comments
2 min read
Maps & Sets in JavaScript

Maps & Sets in JavaScript

3
Comments
4 min read
How to add chat into a NodeJS app with TalkJS

How to add chat into a NodeJS app with TalkJS

8
Comments
4 min read
JS Timer using AlpineJs with Carbon Format

JS Timer using AlpineJs with Carbon Format

6
Comments
2 min read
Custom endsWith and startsWith Functions

Custom endsWith and startsWith Functions

6
Comments 6
4 min read
How to create super simple Dialogs in HTML

How to create super simple Dialogs in HTML

7
Comments 2
1 min read
loading...