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.
Javascript If-else Statement

Javascript If-else Statement

Comments
1 min read
Vue computed(): What It Caches and When It Reruns

Vue computed(): What It Caches and When It Reruns

7
Comments
10 min read
Five UX Lessons from Building a Browser-Based Dubbing Game

Five UX Lessons from Building a Browser-Based Dubbing Game

Comments
3 min read
How to Validate and Format JSON Before Using It in Your API

How to Validate and Format JSON Before Using It in Your API

Comments
3 min read
I built an API client that runs in your browser. Here's how I handled CORS without running an open proxy

I built an API client that runs in your browser. Here's how I handled CORS without running an open proxy

1
Comments 15
3 min read
Migrating from Java to JavaScript/TypeScript? Here's how to map your stack

Migrating from Java to JavaScript/TypeScript? Here's how to map your stack

6
Comments
3 min read
Blocking `<script>` Won't Stop innerHTML XSS. `setHTML()` Will.

Blocking `<script>` Won't Stop innerHTML XSS. `setHTML()` Will.

8
Comments
7 min read
The native share sheet is three strings and two fallbacks

The native share sheet is three strings and two fallbacks

1
Comments
7 min read
Why I Built Solid-Vue JS: File-Based API Routing for Vue + Vite

Why I Built Solid-Vue JS: File-Based API Routing for Vue + Vite

1
Comments 2
3 min read
Where Should I Store a JWT? localStorage, Cookies, and the XSS/CSRF Trade-off

Where Should I Store a JWT? localStorage, Cookies, and the XSS/CSRF Trade-off

2
Comments
11 min read
My game's tutorial said "press R now" - and pressing R did nothing. A bot test found why.

My game's tutorial said "press R now" - and pressing R did nothing. A bot test found why.

1
Comments
3 min read
I shipped a dark mode hook. Then I found four bugs my own demo never hit.

I shipped a dark mode hook. Then I found four bugs my own demo never hit.

1
Comments
6 min read
I didn't want Redis + workers just to run an HTTP request later

I didn't want Redis + workers just to run an HTTP request later

1
Comments
2 min read
A SELECT that returned more rows than its LIMIT

A SELECT that returned more rows than its LIMIT

Comments
4 min read
Command Injection (CWE-78): From Auto-Detected Finding to Live Exploit to Fixed — Fully Offline

Command Injection (CWE-78): From Auto-Detected Finding to Live Exploit to Fixed — Fully Offline

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.