DEV Community

Mohamed Idris profile picture

Education

BCS @ Alexandria University

Work

Web Developer

4 Week Community Wellness Streak
2 Week Community Wellness Streak
Five Year Club
Four Year Club
Writing Debut
Three Year Club
Two Year Club
1 Week Community Wellness Streak
One Year Club
I made a swing boat that reacts to doom scrolling

I made a swing boat that reacts to doom scrolling

1
Comments
2 min read

Want to connect with Mohamed Idris?

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

Already have an account? Sign in
My bot stopped sending questions the day Egypt turned on Daylight Saving Time

My bot stopped sending questions the day Egypt turned on Daylight Saving Time

Comments 1
6 min read
Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.

Stop arguing about formatting in code reviews. Use Husky and lint-staged instead.

1
Comments
3 min read
Resume Update!

Resume Update!

1
Comments
1 min read
How to Undo a Git Commit Without Losing History

How to Undo a Git Commit Without Losing History

Comments
2 min read
The 3-Second Rule: How to Write a Freelance Proposal That Gets Read (and Gets Replies)

The 3-Second Rule: How to Write a Freelance Proposal That Gets Read (and Gets Replies)

Comments
7 min read
If You Were a Server: How to Detect Issues and Keep Things Running Smoothly

If You Were a Server: How to Detect Issues and Keep Things Running Smoothly

1
Comments
10 min read
How to Remove a File from Git History (And What to Watch Out For)

How to Remove a File from Git History (And What to Watch Out For)

Comments
3 min read
JavaScript Promises — Understand what a Promise actually is, how .then() chaining works under the hood, and how async/await connects to all of it

JavaScript Promises — Understand what a Promise actually is, how .then() chaining works under the hood, and how async/await connects to all of it

Comments
3 min read
Dim Other Cards on Hover with Pure CSS

Dim Other Cards on Hover with Pure CSS

1
Comments
2 min read
I Built a Web App to Burn Bad Memories and Grow From Them

I Built a Web App to Burn Bad Memories and Grow From Them

Comments
1 min read
🧠 The Backend Developer Fundamentals Guide

🧠 The Backend Developer Fundamentals Guide

1
Comments 1
19 min read
You Don't Need a Mobile App. A Bot Might Be Enough

You Don't Need a Mobile App. A Bot Might Be Enough

Comments
2 min read
Some lessons of work culture

Some lessons of work culture

2
Comments
4 min read
Why Chrome Draws a Dark Line on Your CSS Scalloped Edge (and How to Fix It)

Why Chrome Draws a Dark Line on Your CSS Scalloped Edge (and How to Fix It)

1
Comments
3 min read
How I Fixed My Masonry Layout on Mobile Using window.matchMedia

How I Fixed My Masonry Layout on Mobile Using window.matchMedia

1
Comments
3 min read
CSS Masonry Layout in 2 Minutes (No JS Needed)

CSS Masonry Layout in 2 Minutes (No JS Needed)

1
Comments 1
6 min read
Why BEM Nesting Breaks in Tailwind v4

Why BEM Nesting Breaks in Tailwind v4

3
Comments
2 min read
How to Create the Perfect OG Image (With AI + A Simple Screenshot)

How to Create the Perfect OG Image (With AI + A Simple Screenshot)

Comments
2 min read
How to Move a Git Branch to a Different Parent

How to Move a Git Branch to a Different Parent

Comments
1 min read
Business-Aware Development: What Every Developer Should Know Beyond Code

Business-Aware Development: What Every Developer Should Know Beyond Code

Comments
5 min read
The 4 Rules of Client Communication Nobody Taught You

The 4 Rules of Client Communication Nobody Taught You

Comments
4 min read
How to Use React Query with React Router Loaders (Pre-fetch & Cache Data)

How to Use React Query with React Router Loaders (Pre-fetch & Cache Data)

Comments 2
3 min read
React Query: What Is `staleTime` and Why Should You Care?

React Query: What Is `staleTime` and Why Should You Care?

1
Comments 1
3 min read
Why You Need to Sync Production Back Into Dev

Why You Need to Sync Production Back Into Dev

1
Comments 2
2 min read
Our Git Branching & Development Workflow — A Practical Guide

Our Git Branching & Development Workflow — A Practical Guide

2
Comments 2
3 min read
Git Cherry-Pick: Pull a Specific Commit from Another Branch

Git Cherry-Pick: Pull a Specific Commit from Another Branch

Comments
2 min read
React Router: Loaders, Actions & Form

React Router: Loaders, Actions & Form

Comments
2 min read
JavaScript Object Methods - A Practical Guide

JavaScript Object Methods - A Practical Guide

3
Comments 2
4 min read
How to update your last commit's date?

How to update your last commit's date?

1
Comments
1 min read
Auth Tokens Explained: From "Just Ship It" to "Actually Secure"

Auth Tokens Explained: From "Just Ship It" to "Actually Secure"

Comments 1
10 min read
Your Users Shouldn't Have to Scroll to Find What Just Loaded

Your Users Shouldn't Have to Scroll to Find What Just Loaded

Comments 1
2 min read
React Refs & useRef — The "Secret Backdoor" to the DOM 🚪

React Refs & useRef — The "Secret Backdoor" to the DOM 🚪

1
Comments 2
3 min read
Two Types of Return in Arrow Functions: Implicit vs. Explicit

Two Types of Return in Arrow Functions: Implicit vs. Explicit

2
Comments 2
1 min read
Setting Up Environment Variables in Vite React Project - and - Important Things to Know About Using Environment Variables

Setting Up Environment Variables in Vite React Project - and - Important Things to Know About Using Environment Variables

Comments
2 min read
How to Easily Implement a Dark Theme Perfectly

How to Easily Implement a Dark Theme Perfectly

Comments
2 min read
React Query: Simplifying Data Fetching in React

React Query: Simplifying Data Fetching in React

Comments 4
4 min read
Implicit vs Explicit return?!

Implicit vs Explicit return?!

1
Comments
1 min read
Controlled Inputs or Uncontrolled Inputs in React?

Controlled Inputs or Uncontrolled Inputs in React?

Comments
3 min read
Virtual Meeting Guidelines: How to Maintain Professionalism

Virtual Meeting Guidelines: How to Maintain Professionalism

Comments
5 min read
How to Work Remotely: Simple Tips for Productivity and Success

How to Work Remotely: Simple Tips for Productivity and Success

Comments 1
3 min read
Best Practices for Prompting: Mastering Prompt Engineering

Best Practices for Prompting: Mastering Prompt Engineering

Comments
5 min read
E-mail Management: Being a Master of Your Inbox!

E-mail Management: Being a Master of Your Inbox!

Comments
3 min read
Timely and Clear Internal Written Communication

Timely and Clear Internal Written Communication

Comments 2
2 min read
Delivering Simple Solutions That Clients Love

Delivering Simple Solutions That Clients Love

Comments 1
3 min read
Axios: A Simple, Practical Guide (with Examples)

Axios: A Simple, Practical Guide (with Examples)

3
Comments 2
4 min read
Choosing a Data Structure for a Shopping Cart (Array vs Object vs Map)

Choosing a Data Structure for a Shopping Cart (Array vs Object vs Map)

Comments 4
2 min read
Understanding Mouse Movement Events in JavaScript

Understanding Mouse Movement Events in JavaScript

Comments 1
1 min read
Fixed vs Dynamic Nav Links Menu Toggle Styling in React

Fixed vs Dynamic Nav Links Menu Toggle Styling in React

Comments 1
2 min read
How to Create a Simple Carousel/Slider in React

How to Create a Simple Carousel/Slider in React

1
Comments 1
3 min read
How to Copy to Clipboard in JS

How to Copy to Clipboard in JS

1
Comments
1 min read
Using the Spread Operator in React

Using the Spread Operator in React

Comments
2 min read
Code Splitting in React with `lazy` and `Suspense`

Code Splitting in React with `lazy` and `Suspense`

Comments
3 min read
The useTransition react hook

The useTransition react hook

1
Comments 2
3 min read
The useMemo react hook: Optimizing Expensive Calculations with useMemo

The useMemo react hook: Optimizing Expensive Calculations with useMemo

Comments 1
2 min read
The useCallback react hook

The useCallback react hook

Comments 1
3 min read
Optimizing Re-Renders Using React.memo()

Optimizing Re-Renders Using React.memo()

Comments 2
2 min read
Optimizing Re-Renders by Moving State

Optimizing Re-Renders by Moving State

Comments 1
2 min read
When Does a Component Re-render in React?

When Does a Component Re-render in React?

Comments 1
1 min read
How to use the useReducer Hook in React

How to use the useReducer Hook in React

Comments 4
3 min read
loading...