Replace all the content inside the <div className=”App”> with an <h1> element and view the changes in the browser after clicking Save.
function
|
Observe that we’ve removed the unnecessary imports (logo.svg and App.css). |
The result:
With your React environment set up, you’re ready to explore key concepts in React. To follow along, simplify the src folder to just index.js and remove any unnecessary code to match the example shown in the “Show React” tool below.
Click the “Run Example” button to view the result.
index.js:
import const const |