Faisal Akbar
banner
faisalakbar.bsky.social
Faisal Akbar
@faisalakbar.bsky.social
Full Stack Problem Solver | Data Storyteller in the making | Tech explorer bridging ideas and implementation
Currently @ Bank of America
Blogging @ dsfaisal.com
💡JavaScript Tips:
Nullish Coalescing vs Logical OR
January 18, 2025 at 8:06 PM
Implementation of stack using JavaScript:
January 5, 2025 at 10:47 PM
Here's a practical example:
January 2, 2025 at 8:44 PM
Explanation of cn utility function from #shadcn/ui
The cn function combines two popular utilities:

1️⃣ clsx - For conditionally joining CSS class names
2️⃣ tailwind-merge - For merging Tailwind CSS classes intelligently, removing conflicts
January 2, 2025 at 8:44 PM
It depends, useEffect without deps is perfectly fine if you're not updating state. It will run after every render - that's sometimes exactly what you want. Here are some example:
December 28, 2024 at 12:10 AM
🎯 Let's understand useEffect's dependency array in React:
December 27, 2024 at 11:45 PM
It’s simple, you just need to understand what and when to use dependencies:
December 27, 2024 at 5:51 PM
🌐 JavaScript Pro Tip:
Stop concatenating currency symbols! Use Intl.NumberFormat for proper formatting:
#javascript #webdev
December 21, 2024 at 5:01 AM
JavaScript Tip 💡:
Two ways to group by JavaScript with zero dependencies:
✅ using reduce()
✅ using Object.groupBy()
December 16, 2024 at 2:17 AM
💡JavaScript Tip:
map() is an array method in JavaScript that:
- Creates a new array
- Transforms each element of the original array
- Returns a new array of the same length
- Does NOT modify the original array
December 11, 2024 at 2:49 AM
December 7, 2024 at 7:21 PM
December 7, 2024 at 7:21 PM
December 7, 2024 at 7:21 PM
December 7, 2024 at 7:21 PM
December 7, 2024 at 7:21 PM
December 7, 2024 at 7:21 PM
JavaScript Pro Tip: Object Destructing
December 7, 2024 at 7:21 PM
What will be the outputs of the following JavaScript code and why?
December 6, 2024 at 7:41 PM