Adventofcode 🎄 : Day 2 - JSX
Jemima M
Posted on December 2, 2023
It's December 2nd, so our next quick revision topic is JSX. Let's begin...
JSX
JSX is the abbreviation for JavaScript XML. It lets us blend JavaScript with HTML in React. Instead of keeping them in separate files, JSX allows us to write them together, making our code more straightforward and easier to read.
Using JSX makes our code more organised and easier to manage. It acts like a translator between our JavaScript and the building blocks of our webpage, simplifying how we create and update things in React.
So, when you spot those HTML-like tags in your React code, that's JSX doing its thing, making coding in React more accessible and user-friendly.
thank you for reading and KEEP CODING!!!🎄
Posted on December 2, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.