Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
7767a0f6
Commit
7767a0f6
authored
Oct 04, 2018
by
Zach Osman
Browse files
Cleanup
parent
35936f48
Pipeline
#3097
passed with stage
in 53 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
go/go_ahead/src/Components/Pages/HomePage.js
View file @
7767a0f6
import
React
from
'
react
'
;
export
default
class
HomePage
extends
Component
{
export
default
class
HomePage
extends
React
.
Component
{
state
=
{};
render
()
{
return
(
<
div
>
<
text
>
Hello
World
!<
/
text
>
<
p
>
Hello
World
!<
/
p
>
<
/div
>
);
}
...
...
go/go_ahead/src/index.jsx
View file @
7767a0f6
...
...
@@ -3,11 +3,4 @@ import ReactDOM from 'react-dom';
import
{
HomePage
}
from
'
./Components
'
;
// ReactDOM.render(<HomePage />, document.getElementById('root'));
ReactDOM
.
render
(
<
div
>
<
p
>
Hello Go 5 th React!
</
p
>
</
div
>,
document
.
getElementById
(
'
root
'
)
);
ReactDOM
.
render
(<
HomePage
/>,
document
.
getElementById
(
'
root
'
));
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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