---
title: "Kheersagar Parja (@Kheersagar) | Hashnode"
description: "Kheersagar Parja (@Kheersagar) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Kheersagar"
---

@Kheersagar

# Kheersagar Parja

@Kheersagar · Joined November 2022

### [Tailwind + React Native](https://kheersagar.hashnode.dev/tailwind-react-native?utm_source=hashnode&utm_medium=feed)

1\. Create the project Create the project with the Expo CLI npx create-expo-app my-app cd my-app Install tailwind and its dependency yarn add nativewind yarn add --dev tailwindcss 2. Setup Tailwind CSS Run npx tailwindcss init to create a tailwin...

1 min read · [kheersagar.hashnode.dev](https://kheersagar.hashnode.dev/tailwind-react-native?utm_source=hashnode&utm_medium=feed)

[Dec 28, 2022](https://hashnode.com/posts/tailwind-react-native/63ac70e2b9794b2bb7c56c38)

### [Update State After API Response React!!!](https://kheersagar.hashnode.dev/update-state-after-api-response-react?utm_source=hashnode&utm_medium=feed)

Have you ever wondered why immediately after updating the state if it is logged, the value is undefined?? const fetchAPI = async () => { const res = await axios.get("https://catfact.ninja/fact"); setData((previousData) => ({ ...previousData...

2 min read · [kheersagar.hashnode.dev](https://kheersagar.hashnode.dev/update-state-after-api-response-react?utm_source=hashnode&utm_medium=feed)

[Nov 25, 2022](https://hashnode.com/posts/update-state-after-api-response-react/63806a8e3e6bc285c76180db)

### [Regular Function VS Fat Arrow Function](https://kheersagar.hashnode.dev/regular-function-vs-fat-arrow-function?utm_source=hashnode&utm_medium=feed)

Regular function function ATraditionalFunc () { console.log("inside traditonal function") } ATraditionalFunc() Output inside traditonal function Arrow Function or Fat Arrow function const AFatArrowFunc = () =>{ console.log("inside fatArrowFunc fu...

2 min read · [kheersagar.hashnode.dev](https://kheersagar.hashnode.dev/regular-function-vs-fat-arrow-function?utm_source=hashnode&utm_medium=feed)

[Nov 24, 2022](https://hashnode.com/posts/regular-function-vs-fat-arrow-function/637eea187cf4239ec3bd269d)

### [Block scope Vs Global scope var, let, const !!!](https://kheersagar.hashnode.dev/block-scope-vs-global-scope-var-let-const?utm_source=hashnode&utm_medium=feed)

const a = 1; let b = 2; var c = 3; if(true){ const a = 10 let b = 20 var c = 30 console.log('Inside Block value of a = ' ,a ) console.log('Inside Block value of b = ' ,b ) console.log('Inside block value of c = ' ,c ) } console.log('...

2 min read · [kheersagar.hashnode.dev](https://kheersagar.hashnode.dev/block-scope-vs-global-scope-var-let-const?utm_source=hashnode&utm_medium=feed)

[Nov 24, 2022](https://hashnode.com/posts/block-scope-vs-global-scope-var-let-const/637ee9bf7cf4239ec3bd2693)

### [Asynchronous to Synchronous JavaScript](https://kheersagar.hashnode.dev/asynchronous-to-synchronous-javascript?utm_source=hashnode&utm_medium=feed)

Popular JavaScript Interview Question How to Convert Asynchronous code to Synchronous code ? Promises can be used to convert Asynchronous code to Synchronous code. Example Asynchronous setTimeout Function console.log("Before setTimeout") setTimeou...

1 min read · [kheersagar.hashnode.dev](https://kheersagar.hashnode.dev/asynchronous-to-synchronous-javascript?utm_source=hashnode&utm_medium=feed)

[Nov 24, 2022](https://hashnode.com/posts/asynchronous-to-synchronous-javascript/637ee9237cf4239ec3bd2687)
