DEV Community

Mohsen Fallahnejad profile picture

Mohsen Fallahnejad

Code on #JavaScript - Frontend

Why MUI Avoids Theme Flash on First Load (Dark/Light Mode)

Why MUI Avoids Theme Flash on First Load (Dark/Light Mode)

5
Comments
2 min read

Want to connect with Mohsen Fallahnejad?

Create an account to connect with Mohsen Fallahnejad. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Deep Copy vs Shallow Copy in JavaScript

Deep Copy vs Shallow Copy in JavaScript

Comments
2 min read
Why setState Doesn’t Cause Hydration Errors

Why setState Doesn’t Cause Hydration Errors

Comments
2 min read
JavaScript is Single-Threaded

JavaScript is Single-Threaded

Comments
2 min read
How useState Works Under the Hood (and Why It Needs use client)

How useState Works Under the Hood (and Why It Needs use client)

Comments
3 min read
Next.js Page Router vs App Router

Next.js Page Router vs App Router

Comments
2 min read
What is 'use client' in Next.js?

What is 'use client' in Next.js?

Comments
2 min read
AbortController & AbortSignal

AbortController & AbortSignal

5
Comments
3 min read
React Higher-Order Components (HOC)

React Higher-Order Components (HOC)

2
Comments 3
2 min read
JavaScript Event Bus 🚍 (JS + TypeScript)

JavaScript Event Bus 🚍 (JS + TypeScript)

4
Comments
3 min read
JavaScript's Event Loop

JavaScript's Event Loop

Comments
1 min read
Frontend Design Patterns — A Practical Guide

Frontend Design Patterns — A Practical Guide

Comments
3 min read
Git Rebase vs Git Merge — Simple Guide

Git Rebase vs Git Merge — Simple Guide

4
Comments
2 min read
When Should You Use Dynamic Import in React/Next.js? (With Performance Comparison)

When Should You Use Dynamic Import in React/Next.js? (With Performance Comparison)

4
Comments 2
2 min read
React useRef vs useState — When to Use Which

React useRef vs useState — When to Use Which

2
Comments
2 min read
SOLID Principles Explained Simply

SOLID Principles Explained Simply

3
Comments
2 min read
Async vs Sync in JavaScript

Async vs Sync in JavaScript

Comments
1 min read
Event Bubbling vs Event Capturing in JavaScript

Event Bubbling vs Event Capturing in JavaScript

2
Comments
1 min read
filtered list for live search

filtered list for live search

4
Comments
1 min read
Customize .sort() method in JS

Customize .sort() method in JS

5
Comments
1 min read
COPY to the clipboard in JS

COPY to the clipboard in JS

41
Comments 3
1 min read
Using function in v-model

Using function in v-model

2
Comments
1 min read
State Switching..!

State Switching..!

4
Comments
2 min read
How to generate an ID for Array sequentially ?!

How to generate an ID for Array sequentially ?!

3
Comments
1 min read
loading...