JSX Looks Like An Abomination (But it’s Good for You)

added by bpwndaddy
5/20/2015 3:54:38 PM

2 Kicks, 385 Views

For those unfamiliar with React, JSX is an inline markup that looks like HTML and gets transformed to JavaScript. A JSX expression starts with an HTML-like open tag, and ends with the corresponding closing tag. JSX tags support the XML self close syntax so you can optionally leave the closing tag off.