Journal

Here you'll find my notes and thoughts on interesting technical topics I've explored.
I write about things that I find worth sharing- quick tips, deeper dives into problems I've solved, as well as interesting projects and challenges I've encountered while working on them.

Utility function that helps you handle promises

POST

Utility function that helps you handle promises

tryCatch is a utility function that helps you handle promises in a more elegant way. It returns the result in the same scope and uses try-catch blocks to handle promise rejections.

July 1, 2025