Brian Vaughn
7 years ago
12 changed files with 56 additions and 33 deletions
@ -0,0 +1,8 @@ |
|||
{ |
|||
"bracketSpacing": false, |
|||
"jsxBracketSameLine": true, |
|||
"parser": "flow", |
|||
"printWidth": 40, |
|||
"singleQuote": true, |
|||
"trailingComma": "es5" |
|||
} |
@ -1,5 +1,5 @@ |
|||
const element = <h1>Hello, world!</h1>; |
|||
const container = document.getElementById( |
|||
'root', |
|||
'root' |
|||
); |
|||
ReactDOM.render(element, container); |
|||
|
@ -1,4 +1,4 @@ |
|||
ReactDOM.render( |
|||
<h1>Hello, world!</h1>, |
|||
document.getElementById('root'), |
|||
document.getElementById('root') |
|||
); |
|||
|
Loading…
Reference in new issue