Blog

42 Articles
JavaScript's Reduce: From Array to Anything
Taha Shashtari Taha Shashtari

JavaScript's Reduce: From Array to Anything

Why you shouldn't use async and defer in the same script tag
Taha Shashtari Taha Shashtari

Why you shouldn't use async and defer in the same script tag

Why the number of Gleam programmers is growing so fast?
Taha Shashtari Taha Shashtari

Why the number of Gleam programmers is growing so fast?

Mastering closures in JavaScript
Taha Shashtari Taha Shashtari

Mastering closures in JavaScript

Software design patterns and principles are not the goal
Taha Shashtari Taha Shashtari

Software design patterns and principles are not the goal

Creating a Twitter-Like Header Transition on Scroll
Taha Shashtari Taha Shashtari

Creating a Twitter-Like Header Transition on Scroll

Creating a Smooth Card-to-Modal Transition with Vanilla JavaScript
Taha Shashtari Taha Shashtari

Creating a Smooth Card-to-Modal Transition with Vanilla JavaScript

Building a Seamless Drag-to-Reorder Widget with Vanilla JavaScript
Taha Shashtari Taha Shashtari

Building a Seamless Drag-to-Reorder Widget with Vanilla JavaScript

How to Add Web Push Notifications to Your Web App
Taha Shashtari Taha Shashtari

How to Add Web Push Notifications to Your Web App

Introduction to testing
Taha Shashtari Taha Shashtari

Introduction to testing

Create something for nothing
Taha Shashtari Taha Shashtari

Create something for nothing

How to add additional data to your source data
Taha Shashtari Taha Shashtari

How to add additional data to your source data

Checking object equality with value objects
Taha Shashtari Taha Shashtari

Checking object equality with value objects

Control the function internals with callbacks
Taha Shashtari Taha Shashtari

Control the function internals with callbacks

Implement undo with the command pattern
Taha Shashtari Taha Shashtari

Implement undo with the command pattern

How to make long functions more readable
Taha Shashtari Taha Shashtari

How to make long functions more readable

You can optimize your algorithms later
Taha Shashtari Taha Shashtari

You can optimize your algorithms later

Records vs. Objects
Taha Shashtari Taha Shashtari

Records vs. Objects

Provide an API for your complex arrays
Taha Shashtari Taha Shashtari

Provide an API for your complex arrays

Split your code into phases
Taha Shashtari Taha Shashtari

Split your code into phases

Create objects with factory functions
Taha Shashtari Taha Shashtari

Create objects with factory functions

Is global data bad?
Taha Shashtari Taha Shashtari

Is global data bad?

Clear Names
Taha Shashtari Taha Shashtari

Clear Names

What is Polymorphism?
Taha Shashtari Taha Shashtari

What is Polymorphism?

Group related functions
Taha Shashtari Taha Shashtari

Group related functions

Hide complex conditional details
Taha Shashtari Taha Shashtari

Hide complex conditional details

Should you pass the whole object to a function?
Taha Shashtari Taha Shashtari

Should you pass the whole object to a function?

Encapsulation: the two worlds
Taha Shashtari Taha Shashtari

Encapsulation: the two worlds

Introduce your own data types
Taha Shashtari Taha Shashtari

Introduce your own data types

Simpler conditionals with Guard Clauses
Taha Shashtari Taha Shashtari

Simpler conditionals with Guard Clauses

Introduce Parameter Object
Taha Shashtari Taha Shashtari

Introduce Parameter Object

You probably don't need loops
Taha Shashtari Taha Shashtari

You probably don't need loops

Building a SolidJS App With SolidStart From Scratch
Taha Shashtari Taha Shashtari

Building a SolidJS App With SolidStart From Scratch

9 Tips to Write Better Vue Components
Taha Shashtari Taha Shashtari

9 Tips to Write Better Vue Components

How to Implement Name-Based Avatar Component in Vue
Taha Shashtari Taha Shashtari

How to Implement Name-Based Avatar Component in Vue

Fast Frontend Development With Mocked GraphQL
Taha Shashtari Taha Shashtari

Fast Frontend Development With Mocked GraphQL

How to Add a Sliding Sidebar Menu to Your Site
Taha Shashtari Taha Shashtari

How to Add a Sliding Sidebar Menu to Your Site

Building Your First Single-Page Application in Vue
Taha Shashtari Taha Shashtari

Building Your First Single-Page Application in Vue

How to Detect Outside Clicks in Vue
Taha Shashtari Taha Shashtari

How to Detect Outside Clicks in Vue

How to Make Your Page Load Faster
Taha Shashtari Taha Shashtari

How to Make Your Page Load Faster

Your First Real-Time App in Node
Taha Shashtari Taha Shashtari

Your First Real-Time App in Node

Understand JWT in 3 minutes
Taha Shashtari Taha Shashtari

Understand JWT in 3 minutes