Faraz Kelhini JavaScript developer.

Stories by Faraz Kelhini

axios in javascript

Axios in JavaScript: How to make GET, POST, PUT, and DELETE requests

Dev

Learn how to use Axios in JavaScript for GET, POST, PUT & DELETE requests. Examine setup, error handling, and API best practices.

Faraz Kelhini
Apr 1, 2025 ⋅ 19 min read
axios vs fetch 2025 update

Axios vs. Fetch (2025 update): Which should you use for HTTP requests?

Dev

Fetch() is native, but Axios is powerful. Which should you use in 2025? We compare features, error handling, and performance to help you decide.

Faraz Kelhini
Apr 1, 2025 ⋅ 13 min read
Best practices for trailing commas in JavaScript

Best practices for using trailing commas in JavaScript

Dev

Review trailing comma best practices in JavaScript, and refresh your knowledge of how they’ve changed with recent ECMAScript updates.

Faraz Kelhini
Sep 13, 2021 ⋅ 6 min read
JavaScript logo with a tall building.

6 cutting-edge JavaScript features you can use today

Dev

Check out these 6 new JavaScript features intended to help you write code that’s more efficient and less error-prone.

Faraz Kelhini
Oct 23, 2020 ⋅ 5 min read
JavaScript logo.

Error-free property chaining with ES2020 optional chaining operator

Dev

Want to write safer, more concise code? Check out the optional chaining operator in ES2020.

Faraz Kelhini
Jul 10, 2020 ⋅ 5 min read
What Is globalThis, And Why Should You Use It?

What is globalThis, and why should you start using it?

Dev

The globalThis proposal aims to consolidate the increasingly fragmented ways of accessing the global object in JavaScript.

Faraz Kelhini
Dec 2, 2019 ⋅ 5 min read
New ES2019 Features

5 ES2019 features you can use today

Dev

We take a close look at five ES2019 features you can start using right now.

Faraz Kelhini
Jun 20, 2019 ⋅ 5 min read

Understanding Shadow DOM v1

Dev

The shadow DOM is not a villain from a superhero movie. It’s not the dark side of the DOM, either. […]

Faraz Kelhini
May 1, 2019 ⋅ 13 min read