Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsx example

const name = 'Clarisse Agbegnenou';
const element = <h1>Bonjour, {name}</h1>;

ReactDOM.render(
  element,
  document.getElementById('root')
);
Source by fr.reactjs.org #
 
PREVIOUS NEXT
Tagged: #jsx
ADD COMMENT
Topic
Name
6+5 =