Skip to content

Instantly share code, notes, and snippets.

@sirdarthvader
Created March 26, 2018 23:49
Show Gist options
  • Save sirdarthvader/b54992ebd6fa1f0c4a42796094300df1 to your computer and use it in GitHub Desktop.
Save sirdarthvader/b54992ebd6fa1f0c4a42796094300df1 to your computer and use it in GitHub Desktop.
Initial state of App Component before adding any new code.
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h1 className="App-title">Welcome to React</h1>
</header>
<p>Make chnages to the app.js file in the /src folder see the changes here.</p>
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment