Web / ReactJS Interview questions
What is JSX?
JSX, or JavaScript XML, is an extension to the JavaScript language syntax.Similar in appearance to HTML, JSX provides a way to structure component rendering using a syntax familiar to many developers.
JavaScript XML(JSX) is used by React which utilizes the expressiveness of JavaScript along with HTML-like template syntax. This makes the HTML file really easy to understand. This file makes applications robust and boosts their performance.
render(){
return(
<div>
<h1> Hello!</h1>
</div>
);
}
More Related questions...