Skip to content

Commit b0f0210

Browse files
committed
Added the bare minimum React app JSX logic to render it inside the container element.
1 parent 7c61c2d commit b0f0210

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

webpack_in/entry.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@
44

55

66
console.log("JSX entry logic.");
7+
8+
9+
import React from 'react';
10+
import ReactDOM from 'react-dom';
11+
12+
13+
ReactDOM.render(<div>Hello! I'm a React app!!</div>, document.getElementById('react-app'));

0 commit comments

Comments
 (0)