The only way I see that as being more "intuitive" is if you're familiar with other templating languages.
JSX is far clearer:
<button disabled={isButtonDisabled}>Button</button> <form onSubmit={handleSubmit}></form> <a onClick={doSomething}></a>
The only way I see that as being more "intuitive" is if you're familiar with other templating languages.
JSX is far clearer:
All you really need to know is everything between braces is plain JavaScript, and property names are camelCased.