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.
Mastering React's useReducer Hook: Managing Complex State with Actions

Mastering React's useReducer Hook: Managing Complex State with Actions

Comments
4 min read
Mastering React's useContext Hook: A Simple Guide to Shared State Management

Mastering React's useContext Hook: A Simple Guide to Shared State Management

Comments
4 min read
React Query (TanStack Query): Efficient Data Fetching and State Management for React

React Query (TanStack Query): Efficient Data Fetching and State Management for React

1
Comments
5 min read
Understanding the JavaScript Event Loop in 5 Minutes 🕒✨

Understanding the JavaScript Event Loop in 5 Minutes 🕒✨

1
Comments
3 min read
Recoil: A Modern State Management Library for React

Recoil: A Modern State Management Library for React

Comments
4 min read
Mastering MobX: Simplified and Reactive State Management for React

Mastering MobX: Simplified and Reactive State Management for React

Comments
4 min read
Zustand: Simple, Fast, and Scalable State Management for React

Zustand: Simple, Fast, and Scalable State Management for React

Comments
5 min read
Jotai: A Simple and Powerful State Management Library for React

Jotai: A Simple and Powerful State Management Library for React

Comments
4 min read
Mastering React's Context API: A Comprehensive Guide for Sharing Global State

Mastering React's Context API: A Comprehensive Guide for Sharing Global State

Comments
3 min read
Error Boundaries in React: Handling Errors Gracefully in Your App

Error Boundaries in React: Handling Errors Gracefully in Your App

Comments
4 min read
Understanding Refs and the DOM in React: Accessing and Manipulating DOM Elements

Understanding Refs and the DOM in React: Accessing and Manipulating DOM Elements

1
Comments
4 min read
A Comprehensive Guide to React State: Managing Dynamic Data in Your Components

A Comprehensive Guide to React State: Managing Dynamic Data in Your Components

Comments
4 min read
Understanding Keys in React: Ensuring Efficient Updates in Lists

Understanding Keys in React: Ensuring Efficient Updates in Lists

1
Comments
3 min read
Virtual DOM in React: Enhancing Performance and Efficiency

Virtual DOM in React: Enhancing Performance and Efficiency

1
Comments
4 min read
Understanding Higher-Order Components (HOC) in React: Enhancing Functionality and Reusability

Understanding Higher-Order Components (HOC) in React: Enhancing Functionality and Reusability

Comments
4 min read
Understanding Component Hierarchy in React: Organizing Your Application Structure

Understanding Component Hierarchy in React: Organizing Your Application Structure

Comments
3 min read
Controlled vs Uncontrolled Components in React: Choosing the Right Approach

Controlled vs Uncontrolled Components in React: Choosing the Right Approach

Comments
4 min read
One-Way Data Binding in React: Simplifying State and UI Management

One-Way Data Binding in React: Simplifying State and UI Management

Comments
4 min read
React Strict Mode: Enhancing Code Quality and Preparing for the Future

React Strict Mode: Enhancing Code Quality and Preparing for the Future

1
Comments
3 min read
Conditional Rendering in React: Dynamically Rendering UI Elements

Conditional Rendering in React: Dynamically Rendering UI Elements

Comments
3 min read
Functional Components vs Class Components in React: Which One to Choose?

Functional Components vs Class Components in React: Which One to Choose?

Comments
3 min read
React Fragments: Grouping Elements Without Extra DOM Nodes

React Fragments: Grouping Elements Without Extra DOM Nodes

Comments
3 min read
Event Handling in React: Managing User Interactions Effectively

Event Handling in React: Managing User Interactions Effectively

Comments
4 min read
JSX (JavaScript XML): Simplifying UI Development in React

JSX (JavaScript XML): Simplifying UI Development in React

Comments
3 min read
Toggle Switch Realistic illusion using the core html and core Css Code

Toggle Switch Realistic illusion using the core html and core Css Code

2
Comments
2 min read
Understanding Components and Props in React: The Foundation of Reusable UIs

Understanding Components and Props in React: The Foundation of Reusable UIs

Comments
3 min read
React.js vs Vue.js vs Angular: Choosing the Right Framework for Your Project

React.js vs Vue.js vs Angular: Choosing the Right Framework for Your Project

Comments
3 min read
React.js Explained: A Comprehensive Guide to Building Modern Web Applications

React.js Explained: A Comprehensive Guide to Building Modern Web Applications

Comments
3 min read
Just Your Type: Swiping Right On JavaScript and TypeScript

Just Your Type: Swiping Right On JavaScript and TypeScript

Comments
6 min read
How to Get Started with Web Development in 2024: A Beginner's Guide

How to Get Started with Web Development in 2024: A Beginner's Guide

3
Comments 2
4 min read
Integrating Google Calendar API in Node.JS: A Guide to Event Creation and Meeting Scheduling

Integrating Google Calendar API in Node.JS: A Guide to Event Creation and Meeting Scheduling

Comments
4 min read
Designing Efficient Data Models in MongoDB: Schema-less, Relationships, and Performance Optimization

Designing Efficient Data Models in MongoDB: Schema-less, Relationships, and Performance Optimization

Comments
4 min read
JavaScript Best Practices

JavaScript Best Practices

1
Comments
15 min read
🚀 Why TypeScript is Better Than Vanilla JavaScript: A Technical Deep Dive 🛠️

🚀 Why TypeScript is Better Than Vanilla JavaScript: A Technical Deep Dive 🛠️

2
Comments
3 min read
My React Journey: Day 11

My React Journey: Day 11

Comments
2 min read
Mastering jQuery: A Comprehensive Guide to Simplify Web Development

Mastering jQuery: A Comprehensive Guide to Simplify Web Development

Comments
3 min read
เรื่องราวที่ผ่านมาในปี 2017 ของ developer ตัวน้อย

เรื่องราวที่ผ่านมาในปี 2017 ของ developer ตัวน้อย

Comments
1 min read
Rust for JavaScript Developers: Your First WebAssembly Module

Rust for JavaScript Developers: Your First WebAssembly Module

1
Comments
2 min read
Mastering JavaScript Classes: A Complete Guide to Modern OOP

Mastering JavaScript Classes: A Complete Guide to Modern OOP

Comments
3 min read
Mastering Asynchronous JavaScript: Callbacks, Promises, and Async/Await

Mastering Asynchronous JavaScript: Callbacks, Promises, and Async/Await

Comments
3 min read
Understanding CORS: Secure Cross-Origin Resource Sharing in JavaScript

Understanding CORS: Secure Cross-Origin Resource Sharing in JavaScript

Comments
4 min read
Boosting Performance with Web Workers in JavaScript

Boosting Performance with Web Workers in JavaScript

Comments
3 min read
Mastering the JavaScript HTML DOM: Building Dynamic and Interactive Webpages

Mastering the JavaScript HTML DOM: Building Dynamic and Interactive Webpages

Comments
3 min read
Mastering JavaScript Objects: The Backbone of Dynamic Programming

Mastering JavaScript Objects: The Backbone of Dynamic Programming

Comments
3 min read
Mastering JavaScript JSON: Parsing, Stringifying, and Beyond

Mastering JavaScript JSON: Parsing, Stringifying, and Beyond

5
Comments
3 min read
Unleashing Creativity with JavaScript Graphics: A Guide to Canvas, SVG, and WebGL

Unleashing Creativity with JavaScript Graphics: A Guide to Canvas, SVG, and WebGL

Comments
3 min read
JavaScript Best Practices: Writing Efficient and Optimized Code

JavaScript Best Practices: Writing Efficient and Optimized Code

Comments
3 min read
Mastering File APIs in JavaScript: Simplified File Handling for Web Applications

Mastering File APIs in JavaScript: Simplified File Handling for Web Applications

Comments
3 min read
Mastering the Geolocation API: Building Location-Aware JavaScript Applications

Mastering the Geolocation API: Building Location-Aware JavaScript Applications

Comments
3 min read
Mastering Object.freeze() and Object.seal() in JavaScript: Controlling Object Mutability

Mastering Object.freeze() and Object.seal() in JavaScript: Controlling Object Mutability

Comments
3 min read
Unleashing Creativity with Canvas API: A Comprehensive Guide for Dynamic Web Graphics

Unleashing Creativity with Canvas API: A Comprehensive Guide for Dynamic Web Graphics

Comments
3 min read
Mastering JavaScript Debugging: Tools and Techniques for Bug-Free Code

Mastering JavaScript Debugging: Tools and Techniques for Bug-Free Code

Comments
3 min read
Glassmorphism 3d Cards illusion using html css and javascript code

Glassmorphism 3d Cards illusion using html css and javascript code

1
Comments
3 min read
Mastering the Fetch API: Simplifying HTTP Requests in JavaScript

Mastering the Fetch API: Simplifying HTTP Requests in JavaScript

Comments
3 min read
My first JavaScript Web App

My first JavaScript Web App

Comments
1 min read
Enhancing Development Efficiency with Cursor and EchoAPI: A New Era of AI-Assisted Coding"

Enhancing Development Efficiency with Cursor and EchoAPI: A New Era of AI-Assisted Coding"

Comments
5 min read
How I Replaced 2000 Lines of Code with Just 300 in Redux Store — Without Breaking the App!

How I Replaced 2000 Lines of Code with Just 300 in Redux Store — Without Breaking the App!

1
Comments
2 min read
🛑 Stop Create Hooks in React 🪝🎣

🛑 Stop Create Hooks in React 🪝🎣

2
Comments 4
1 min read
How to Optimize Loops for Better Performance

How to Optimize Loops for Better Performance

Comments
3 min read
A Complete Guide: How to Use Environment Variables in Postman

A Complete Guide: How to Use Environment Variables in Postman

Comments
4 min read
loading...