Skip to content

Commit 94519cd

Browse files
committed
react setup
1 parent 33cfd1e commit 94519cd

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from 'react';
2+
3+
const App = () => {
4+
return (
5+
<div>
6+
Hi There!
7+
</div>
8+
);
9+
};
10+
11+
export default App;

server/client/src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
33

4-
ReactDOM.render();
4+
import App from './components/App';
5+
6+
ReactDOM.render(<App />, document.querySelector('#root'));

0 commit comments

Comments
 (0)