My Blog
March 25, 2025
Syncing System Info from Electron in React with useSyncExternalStore
useSyncExternalStore is a not-so-popular React hook, but it's super useful for subscribing to an external source and storing its data—no useEffect or useState needed.
February 14, 2025
Cleaner JavaScript with Logical Assignment Operators (&&=, ||=, ??=)
A guide with examples on how logical assignment operators (&&=, ||=, ??=) in JavaScript simplify assignments.
January 30, 2025
How to disable internal microphone and camera on Linux
Disabling input devices can be required for privacy, security, or debugging. This guide provides the necessary commands to achieve it.
December 17, 2024
Reversing an integer mathematically in TypeScript
Reversing an integer is one of the most common problems for interviews. It can be easily done if we treat the number as a string, but there is a mathematical way of doing it...