GroceriStar / react-only-intern-22

GNU General Public License v3.0
0 stars 0 forks source link

Master React, Quick Code tutorial. Part 2 #3

Closed atherdon closed 6 years ago

atherdon commented 6 years ago

Link to the first part of a tutorial on the next line https://medium.com/quick-code/lets-learn-react-chapter-2-what-the-hell-is-jsx-and-where-can-i-buy-it-5303a7db5117

Expected result

Test

1

nioperas06 commented 6 years ago

Every React component have to implement render method and in this method we are telling how the component should be rendered. This render method should return JSX template wich is a syntax extension to JavaScript. We can render logic or how the data is prepared for display. We can put any valid JavaScript expression inside the curly braces in JSX.