Faraz Kelhini JavaScript developer.

Stories by Faraz Kelhini

Axios Or Fetch(): Which Should You Use?

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

Dev

Explore key differences between Axios and fetch() for HTTP requests, including error handling, CORS management, and response parsing.

Faraz Kelhini
Jan 29, 2024 ⋅ 8 min read
How to Make HTTP Requests with Axios

How to make HTTP requests with Axios

Dev

Examine the Axios features that have contributed to its popularity, including protecting against XSRF and monitoring POST request progress.

Faraz Kelhini
Nov 29, 2023 ⋅ 12 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