Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
go
Commits
7767a0f6
Commit
7767a0f6
authored
Oct 04, 2018
by
Zach Osman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
35936f48
Pipeline
#3097
passed with stage
in 53 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
go/go_ahead/src/Components/Pages/HomePage.js
go/go_ahead/src/Components/Pages/HomePage.js
+2
-2
go/go_ahead/src/index.jsx
go/go_ahead/src/index.jsx
+1
-8
No files found.
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