import React from ‘react’;
import ReactDOM from ‘react-dom’;
//import Props from ‘./Props’;
//import App from ‘./App’;
//import State from ‘./State’; //video 5
import Relation from ‘./Relation-component’; //video 6 //relation-component.js
ReactDOM.render(
<div>
{/*<App att='create by a another value'>*/}
{/*</App>*/}
{/* video 4 */}
{/*<Props cat={8} att='create by me Xaviou'>*/}
{/*</Props>*/}
{/* video 5 */}
{/*<State /> */}
{/* video 6 */}
<Relation />
</div>,
document.getElementById('root')
);
Those curly braces indicate a function block with no implicit return. The way you’re writing an arrow function implies the return of what follows the arrow, and it’s the cleanest way you can write a pure function in ES6.