---
title: "Usama Bhatti (@usamabhatti) | Hashnode"
description: "Web Developer. Read the latest articles by Usama Bhatti on Hashnode."
url: "https://hashnode.com/@usamabhatti"
---

@usamabhatti

# Usama Bhatti

@usamabhatti · Joined August 2021

Web Developer

[Website](https://usamabhatti.netlify.app/)

### [React - Center a component horizontally and vertically](https://usamabhatti.hashnode.dev/react-center-a-component-horizontally-and-vertically?utm_source=hashnode&utm_medium=feed)

To center a component horizontally and vertically in React, add the display:flex, justify-content: center and align-items: center to the react component CSS

[1](https://hashnode.com/posts/react-center-a-component-horizontally-and-vertically/632321718350c8888bf310e0) Sep 15, 2022 · 2 min read [usamabhatti.hashnode.dev](https://usamabhatti.hashnode.dev/react-center-a-component-horizontally-and-vertically?utm_source=hashnode&utm_medium=feed)

### [The Best Way to Learn Programming](https://usamabhatti.hashnode.dev/the-best-way-to-learn-programming?utm_source=hashnode&utm_medium=feed)

There are no easy ways, but there are better ways to do things. Recently, I read something called “The aggregation of marginal gains” from Atomic Habits by James Clear, which means searching for tiny margins of improvement in everything you do. Well ...

Aug 30, 2021 · 4 min read [usamabhatti.hashnode.dev](https://usamabhatti.hashnode.dev/the-best-way-to-learn-programming?utm_source=hashnode&utm_medium=feed)

### [What Is JWT and Why Should You Use JWT](https://usamabhatti.hashnode.dev/what-is-jwt-and-why-should-you-use-jwt?utm_source=hashnode&utm_medium=feed)

You have probably heard of JWT or you have maybe even read about it. But you still have absolutely no idea how JWT really works or even why would you actually want to use it. First I'm gonna tell you what JWT is then I'm gonna talk about why you s...

[1](https://hashnode.com/posts/what-is-jwt-and-why-should-you-use-jwt/611fff4aa5d08237f40df71c) Aug 20, 2021 · 6 min read [usamabhatti.hashnode.dev](https://usamabhatti.hashnode.dev/what-is-jwt-and-why-should-you-use-jwt?utm_source=hashnode&utm_medium=feed)

### [5 Visual Studio Code Extensions Developers Need in 2021](https://usamabhatti.hashnode.dev/5-visual-studio-code-extensions-developers-need-in-2021?utm_source=hashnode&utm_medium=feed)

Visual Studio Code is a popular IDE that makes life easier for any type of developer backend or frontend. It was developed by Microsoft and can be used on Windows, Mac, and Linux. There are many uses for this IDE including: debugging, syntax highligh...

Aug 9, 2021 · 4 min read [usamabhatti.hashnode.dev](https://usamabhatti.hashnode.dev/5-visual-studio-code-extensions-developers-need-in-2021?utm_source=hashnode&utm_medium=feed)
