MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / App

Function App

Video 105/with-react/src/App.js:8–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8function App() {
9 const [value, setValue] = useState(0)
10
11 return (
12 <div className="App">
13 <Navbar logoText="CodeWithCWHHarry"/>
14 <div className='value'> {value}</div>
15 <button onClick={()=>{setValue(value + 1)}}>Click me</button>
16 <Footer/>
17 </div>
18 );
19}
20
21export default App;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected