Created
June 13, 2019 14:30
-
-
Save ckomop0x/eefa63793ecc060f1d5c4f58134e04e6 to your computer and use it in GitHub Desktop.
Rewritten App.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { sum } from "./utils"; | |
import "./styles.css"; | |
function App() { | |
return ( | |
<div className="App"> | |
<h1>Re-export example</h1> | |
<p>{sum(5, 10)}</p> | |
</div> | |
); | |
} | |
const rootElement = document.getElementById("root"); | |
ReactDOM.render(<App />, rootElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment