sunnie@lemmy.ca to Programmer Humor@programming.dev · 9 months agono.. just nolemmy.caimagemessage-square52fedilinkarrow-up1241arrow-down111
arrow-up1230arrow-down1imageno.. just nolemmy.casunnie@lemmy.ca to Programmer Humor@programming.dev · 9 months agomessage-square52fedilink
minus-squarekpw@kbin.sociallinkfedilinkarrow-up13arrow-down2·9 months agoThe most offensive thing here is the amount={5} attribute. What is it? It’s not XML.
minus-squareABC123itsEASY@lemmy.worldlinkfedilinkarrow-up11·9 months agoIt’s a react component and that would be the proper way to give a numerical value in jsx
minus-squareMostlyHarmless@sh.itjust.workslinkfedilinkarrow-up5·9 months agoIt’s JSX. It’s used to embed markup into javascript
minus-squaresndrtj@feddit.nllinkfedilinkarrow-up3·9 months agoIt’s to embed Javascript into embedded markup in Javascript
The most offensive thing here is the
amount={5}
attribute. What is it? It’s not XML.It’s a react component and that would be the proper way to give a numerical value in jsx
It’s JSX. It’s used to embed markup into javascript
It’s to embed Javascript into embedded markup in Javascript