544
no.. just no (lemmy.ca)
you are viewing a single comment's thread
view the rest of the comments
[-] kpw@kbin.social 21 points 1 year ago

The most offensive thing here is the amount={5} attribute. What is it? It's not XML.

[-] ABC123itsEASY@lemmy.world 24 points 1 year ago

It's a react component and that would be the proper way to give a numerical value in jsx

[-] Huschke@lemmy.world 6 points 1 year ago

JSX has grown beyond react, so without further context it doesn't have to be react.

[-] MostlyHarmless@sh.itjust.works 14 points 1 year ago

It's JSX. It's used to embed markup into javascript

[-] sndrtj@feddit.nl 5 points 1 year ago

It's to embed Javascript into embedded markup in Javascript

this post was submitted on 27 Dec 2023
544 points (96.7% liked)

Programmer Humor

19821 readers
880 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS