---
title: "Discussion on \"Under the hood of JSX\" | Hashnode"
description: "Discussion on \"Under the hood of JSX\". yaunghein recently asked a question in a Discord server with the following screenshot.\n\n\nI am trying to write vanilla JS inside JSX. So I tried it between {}. just console.log() works, but when I start using the \"let\" keyword, it starts getting an er..."
url: "https://hashnode.com/posts/under-the-hood-of-jsx/60a9f88e20d1f45ceb7ef115"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Under the hood of JSX](https://minhajul.hashnode.dev/under-the-hood-of-jsx?utm_source=hashnode&utm_medium=feed)

yaunghein recently asked a question in a Discord server with the following screenshot. I am trying to write vanilla JS inside JSX. So I tried it between {}. just console.log() works, but when I start using the "let" keyword, it starts getting an er...

May 23, 2021 · 2 min read · minhajul.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#jsx](https://hashnode.com/tag/jsx)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Minhajul Karim](https://hashnode.com/@mkr)

@mkr

  
[View profile](https://hashnode.com/@mkr)

Aspiring Full-Stack JS Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
