Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
3809cf12
Commit
3809cf12
authored
8 years ago
by
Dan Abramov
Committed by
GitHub
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Tweak conventions
parent
4cf29b1a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
template/src/index.js
+5
-3
template/src/index.js
with
5 additions
and
3 deletions
+5
-3
template/src/index.js
+
5
-
3
View file @
3809cf12
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
render
}
from
'
react-dom
'
;
import
ReactDOM
from
'
react-dom
'
;
import
App
from
'
./App
'
;
import
App
from
'
./App
'
;
import
'
./index.css
'
;
import
'
./index.css
'
;
const
rootEl
=
document
.
getElementById
(
'
root
'
);
ReactDOM
.
render
(
render
(
<
App
/>
,
rootEl
);
<
App
/>
,
document
.
getElementById
(
'
root
'
)
);
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets