Taha Shashtari
banner
tahazsh.bsky.social
Taha Shashtari
@tahazsh.bsky.social
Full-stack dev ✨ Creator of Swapy https://swapy.tahazsh.com 📽️ Video tutorials https://www.youtube.com/@tahazsh
TIL about the nullish coalescing assignment operator in JavaScript!
September 22, 2025 at 4:17 PM
I wrote about the named parameters pattern in JavaScript—I think you'll love it 😍
tahazsh.com/blog/named-p...
January 26, 2025 at 8:04 PM
Strategy pattern is better when done with functions.
tahazsh.com/blog/strateg...

#javascript #typescript #programming #webdev
December 22, 2024 at 5:24 PM
🚀 Introducing Blendy – a framework-agnostic tool that smoothly transitions any element into any other element with just a few lines of code.

blendy.tahazsh.com

#javascript #WebDev #UI
December 17, 2024 at 4:20 PM
🚀 Introducing Swapy – a framework-agnostic tool that converts any layout into a drag-to-swap one with just a few lines of code.

swapy.tahazsh.com
December 14, 2024 at 5:46 PM
My favorite feature in Chrome is taking a screenshot of any element on the page using "Capture node screenshot" in dev tools.
December 2, 2024 at 2:23 PM
Finally we have a simple way to group objects in an array in JavaScript.
December 1, 2024 at 5:14 PM
Following the previous post, here's a quick way to check if an array has duplicates in JavaScript.
November 30, 2024 at 6:32 PM
JavaScript tip on how to quickly remove duplicates from an array.
November 30, 2024 at 6:21 PM
"JavaScript has an array function, reduce, that loops through an array and produces a result of any type—number, string, object, or even array."

Read more: tahazsh.com/blog/javascr...
November 4, 2024 at 7:42 AM
🔥 JS tip: You can listen for the `transitionend` event on an element to know when the CSS transition has completed.

Using `setTimeout` to wait is not accurate.
Also, there's `animationend` for CSS animations.
June 30, 2024 at 8:59 AM