© 2023 Hashnode
#jsx
Should we think about the reusability of our code all the time? Some advise us to think about it only after we face the need for it. That means if we're creating a brand new component and don't know w…
Requirements: Beginner with basic knowledge of HTML, CSS, and basic Javascript. Create the setup for react app by reading the previous blog. What is JSX? JSX is a syntax extension for JavaScript …
In JSX, you can write JavaScript expressions by wrapping them in curly braces {}. For example, you can use a JavaScript variable or a function call inside JSX by enclosing it in curly braces. const name = "John"; // Using a variable in JSX …
It is an older problem, but we must know it because we are the effect of our causes. and our causes lie in history. And so studying history is merely studying the self. Today we have XSS to learn. Cro…
Have you ever been to an AA meeting? Do you even know what an AA meeting is? It always starts with one of the attendees introducing themselves and stating an issue they are struggling with (anger prob…
Manipulating the DOM using JavaScript is possible but very verbose. The React library is written using JavaScript, and it does allow some reduction in the code. But still, it is not a good choice to t…
What is JSX? JSX is a syntax extension for JavaScript that allows you to write HTML-like code in your JavaScript files. It was designed to make it easier to write and manipulate the structure of a use…
In JavaScript, an arrow function is a shorter syntax for writing a function expression. It is also known as a "fat arrow" function because of the use of the "fat arrow" (=>) symbol. Here is an example…
As we all know, JavaScript is a scripting or programming language, that allows us to implement complex features on web pages. It is used for front-end development of web pages. But in today’s world, w…
I started learning React last week. The most interesting part about learning react is reusing a framework as many times as you want. While doing the vanilla JS project it was, I experienced writing so…