sunnie to Programmer [email protected] • 11 months agono.. just nolemmy.camessage-square94fedilinkarrow-up1560
arrow-up1541imageno.. just nolemmy.casunnie to Programmer [email protected] • 11 months agomessage-square94fedilink
minus-squarekpwlinkfedilink21•11 months agoThe most offensive thing here is the amount={5} attribute. What is it? It’s not XML.
minus-square@[email protected]linkfedilink24•11 months agoIt’s a react component and that would be the proper way to give a numerical value in jsx
minus-square@[email protected]linkfedilink6•11 months agoJSX has grown beyond react, so without further context it doesn’t have to be react.
minus-square@[email protected]linkfedilink13•11 months agoIt’s JSX. It’s used to embed markup into javascript
minus-square@[email protected]linkfedilink5•11 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
JSX has grown beyond react, so without further context it doesn’t have to be react.
It’s JSX. It’s used to embed markup into javascript
It’s to embed Javascript into embedded markup in Javascript