-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact.html
More file actions
57 lines (56 loc) · 1.29 KB
/
Copy pathreact.html
File metadata and controls
57 lines (56 loc) · 1.29 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>React.js Summary</title>
<style>
table {
width: 80%;
border-collapse: collapse;
margin: 20px auto;
font-family: Arial, sans-serif;
}
th, td {
border: 1px solid #444;
padding: 10px;
text-align: left;
}
th {
background-color: #f0f0f0;
}
h2 {
text-align: center;
font-family: Arial, sans-serif;
}
</style>
</head>
<body>
<h2>React.js Summary</h2>
<table>
<tr>
<th>Feature</th>
<th>Description</th>
</tr>
<tr>
<td>Component-Based</td>
<td>UI is built using reusable components for modularity and maintainability.</td>
</tr>
<tr>
<td>Virtual DOM</td>
<td>Efficiently updates and renders only the parts of the UI that change.</td>
</tr>
<tr>
<td>JSX</td>
<td>JavaScript XML syntax allows writing HTML-like code directly in JavaScript.</td>
</tr>
<tr>
<td>Unidirectional Data Flow</td>
<td>Data flows in one direction, making debugging and state management easier.</td>
</tr>
<tr>
<td>Hooks</td>
<td>Functions like useState and useEffect let you manage state and lifecycle in functional components.</td>
</tr>
</table>
</body>
</html>