Question 11
How do you write an inline style which specifies the font-size:12px and color:red; in JSX?
style={{font-size:12,color:'red'}}
style={{fontSize:'12px',color:'red'}}
style={fontSize:'12px',color:'red'}
style={{font-size:12px,color:'red'}}
Question 12
What advantages does ReactJS have?
Increases the application’s performance with Virtual DOM
It renders both on the client and server-side
Easy to integrate with other frameworks(Angular, BackboneJS) since it is only a view library
All of the above
Question 13
What disadvantages does ReactJS have?
It is only a view layer. You have to plug your code for Ajax requests, events, and so on.
The library is pretty large.
The learning curve can be slow.
All of the above options
Question 14
Choose the right answer about JSX.
JSX is faster as it performs optimization while compiling code to JavaScript
JSX is a syntax notation for JavaScript XML
JSX provides expressiveness of JavaScript along with HTML, like template syntax
Question 15
The arbitrary inputs of components are called ___.
Keys
Props
Elements
Ref
There are 15 questions to complete.