React 101.2
JSX >
JSX is like mixing HTML and JavaScript.
const element = <h1>Attack on Titan !!!</h1>
It's just JavaScript but with a slight dash of HTML.
Inside a JSX expression, attributes can be inserted very easily:
const myId = 'test'
const element = <h1 ...
mirageazlit.hashnode.dev7 min read