Skip to content

Instantly share code, notes, and snippets.

@rishichawda
Created May 18, 2019 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rishichawda/0a35280d00a7320ddc29cb52a1735ab9 to your computer and use it in GitHub Desktop.
Save rishichawda/0a35280d00a7320ddc29cb52a1735ab9 to your computer and use it in GitHub Desktop.
Initial App.js file - Managing Application state without Redux
import React from "react";
import "./App.scss";
import ChildComponent from "./ChildComponent";
const App = () => {
return (
<>
<div className="app">
<h2>Welcome to React!</h2>
</div>
<ChildComponent />
</>
);
};
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment