RSS.Social

Taha Shashtari's Blog

follow: @[email protected]

Posts

Make your JavaScript more readable with named parameters

Strategy pattern is better when done with functions

JavaScript's Reduce: From Array to Anything

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

Why the number of Gleam programmers is growing so fast?

Mastering closures in JavaScript

Software design patterns and principles are not the goal

Creating a Twitter-Like Header Transition on Scroll

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

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

How to Add Web Push Notifications to Your Web App

Introduction to testing

Create something for nothing

How to add additional data to your source data

Checking object equality with value objects

Control the function internals with callbacks

Implement undo with the command pattern

How to make long functions more readable

You can optimize your algorithms later

Records vs. Objects

Provide an API for your complex arrays

Split your code into phases

Create objects with factory functions

Is global data bad?

Clear Names

What is Polymorphism?

Group related functions

Hide complex conditional details

Should you pass the whole object to a function?

Encapsulation: the two worlds

Introduce your own data types

Simpler conditionals with Guard Clauses

Introduce Parameter Object

You probably don't need loops

Building a SolidJS App With SolidStart From Scratch

9 Tips to Write Better Vue Components

How to Implement Name-Based Avatar Component in Vue

Fast Frontend Development With Mocked GraphQL

How to Add a Sliding Sidebar Menu to Your Site

Building Your First Single-Page Application in Vue

How to Detect Outside Clicks in Vue

How to Make Your Page Load Faster

Your First Real-Time App in Node

Understand JWT in 3 minutes