generated from Code-Institute-Org/ci-react-core-react-project-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
40 lines (35 loc) · 1.72 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import './App.css';
import RenderingLists from './components/RenderingLists';
// import FunctionalGreeting from './components/FunctionalGreeting';
// import FunctionalGreetingWithProps from './components/FunctionalGreetingWithProps';
// import StatefulGreeting from './components/StatefulGreeting';
// import StatefulGreetingWithCallback from './components/StatefulGreetingWithCallback';
// import StatefulGreetingWithPrevState from './components/StatefulGreetingWithPrevState';
// import EventsFunctional from './components/EventsFunctional';
// import EventsClass from './components/EventsClass';
// import EventBinding from './components/EventBinding';
// import ConditionalRenderingFunctional from './components/ConditionalRenderingFunctional';
// import ConditionalRenderingClass from './components/ConditionalRenderingClass';
// import NestingComponents from './components/NestingComponents';
// import MethodsAsPropsParent from "./components/MethodsAsPropsParent";
function App() {
return (
<div className="App">
{/* LESSONS 1 to 10 */}
{/* <FunctionalGreeting /> */}
{/* <FunctionalGreetingWithProps greeting="Nice to meet you!" name="Kera" age="37" /> */}
{/* <StatefulGreeting greeting="I'm a stateful class component" name="Kera" /> */}
{/* <StatefulGreetingWithCallback /> */}
{/* <StatefulGreetingWithPrevState /> */}
{/* <EventsFunctional /> */}
{/* <EventsClass /> */}
{/* <EventBinding /> */}
{/* <ConditionalRenderingFunctional connected={true} /> */}
{/* <ConditionalRenderingClass /> */}
{/* <NestingComponents /> */}
{/* <MethodsAsPropsParent /> */}
<RenderingLists />
</div>
);
}
export default App;