Faraz Kelhini JavaScript developer.

Stories by Faraz Kelhini

How to Make HTTP Requests with Axios

How to make HTTP requests with Axios

Dev

Learn how to make HTTP requests with Axios in JavaScript, covering installation, interceptors, error handling, and advanced techniques for smoother API interactions

Faraz Kelhini
Nov 27, 2024 ⋅ 16 min read
Axios Or Fetch(): Which Should You Use?

Axios vs. fetch(): Which is best for making HTTP requests?

Dev

Compare the Axios library and `fetch()` API for HTTP requests, including error handling, CORS management, and response parsing.

Faraz Kelhini
Nov 21, 2024 ⋅ 9 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