-
-
Save rishichawda/0a35280d00a7320ddc29cb52a1735ab9 to your computer and use it in GitHub Desktop.
Initial App.js file - Managing Application state without Redux
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 "./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