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

@precodes

# Prerana Nawar

@precodes · Mumbai, India · Joined February 2021

[Website](https://prerana-nawar.netlify.app/)

### [The Root of the Matter: Why We Put React in a Div and Not body](https://precodes.hashnode.dev/the-root-of-the-matter-why-we-put-react-in-a-div-and-not-body?utm_source=hashnode&utm_medium=feed)

Ever wondered why we define root in a div tag and not in body in React? 🤔

7 min read · [precodes.hashnode.dev](https://precodes.hashnode.dev/the-root-of-the-matter-why-we-put-react-in-a-div-and-not-body?utm_source=hashnode&utm_medium=feed)

[Mar 4, 2024](https://hashnode.com/posts/the-root-of-the-matter-why-we-put-react-in-a-div-and-not-body/65e63e3b72acd69e01f2cfe3)

### [A myth: React can only be written using JSX](https://precodes.hashnode.dev/a-myth-react-can-only-be-written-using-jsx?utm_source=hashnode&utm_medium=feed)

Have you ever wondered why JSX is even necessary in the world of React? Are you unsure if this is a necessary component of creating React applications, or merely a handy syntax? You're not alone, though! Let's dive into the JSX myth and explore wheth...

3 min read · [precodes.hashnode.dev](https://precodes.hashnode.dev/a-myth-react-can-only-be-written-using-jsx?utm_source=hashnode&utm_medium=feed)

[Jan 26, 2024](https://hashnode.com/posts/a-myth-react-can-only-be-written-using-jsx/65b43e5fbbc793fc394fec0b)

### [To CDN or Not to CDN? | Hosting your own code on CDN](https://precodes.hashnode.dev/to-cdn-or-not-to-cdn-hosting-your-own-code-on-cdn?utm_source=hashnode&utm_medium=feed)

Hey there, Today, let's dive into the realm of Content Delivery Networks (CDNs) and explore why they play a crucial role in web development. If you've ever wondered about those mysterious links hosting code for your website, you're in the right place...

4 min read · [precodes.hashnode.dev](https://precodes.hashnode.dev/to-cdn-or-not-to-cdn-hosting-your-own-code-on-cdn?utm_source=hashnode&utm_medium=feed)

[Jan 26, 2024](https://hashnode.com/posts/to-cdn-or-not-to-cdn-hosting-your-own-code-on-cdn/65b437dff0c5c60966993367)

### [Intricacies of Closures in Javascript](https://precodes.hashnode.dev/intricacies-of-closures-in-javascript?utm_source=hashnode&utm_medium=feed)

Uncover the secrets of closures as we explore their ability to retain and access lexical scopes, creating a magical bond.

4 min read · [precodes.hashnode.dev](https://precodes.hashnode.dev/intricacies-of-closures-in-javascript?utm_source=hashnode&utm_medium=feed)

[Jan 16, 2024](https://hashnode.com/posts/intricacies-of-closures-in-javascript/65a6eebbb7d7caee1b5f248c)

### [JavaScript Block Scopes, Shadowing, and Beyond.](https://precodes.hashnode.dev/javascript-block-scopes-shadowing-and-beyond?utm_source=hashnode&utm_medium=feed)

Mastering the Art of Block Scopes: A Deep Dive into JavaScript

3 min read · [precodes.hashnode.dev](https://precodes.hashnode.dev/javascript-block-scopes-shadowing-and-beyond?utm_source=hashnode&utm_medium=feed)

[Jan 16, 2024](https://hashnode.com/posts/javascript-block-scopes-shadowing-and-beyond/65a6d20c1079c75e22501221)
