You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
184
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
185
185
url:'https://i.imgur.com/HMFmH6m.jpg',
186
186
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
Copy file name to clipboardExpand all lines: beta/src/pages/learn/choosing-the-state-structure.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2304,7 +2304,7 @@ Notice how the event handlers are only concerned with calling `setItems` after t
2304
2304
2305
2305
### Fix the disappearing selection {/*fix-the-disappearing-selection*/}
2306
2306
2307
-
There is a list of `letters` in state. When you hover or focus a particular letter, it gets highlighted. The currently highlighted letter is stored in the `highlightedLetter` state variable. You can "star" and "unstar" invidual letters, which updates the `letters` array in state.
2307
+
There is a list of `letters` in state. When you hover or focus a particular letter, it gets highlighted. The currently highlighted letter is stored in the `highlightedLetter` state variable. You can "star" and "unstar" individual letters, which updates the `letters` array in state.
2308
2308
2309
2309
This code works, but there is a minor UI glitch. When you press "Star" or "Unstar", the highlighting disappears for a moment. However, it reappears as soon as you move your pointer or switch to another letter with keyboard. Why is this happening? Fix it so that the highlighting doesn't disappear after the button click.
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
370
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
371
371
url:'https://i.imgur.com/HMFmH6m.jpg',
372
372
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
Copy file name to clipboardExpand all lines: beta/src/pages/learn/rendering-lists.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -401,7 +401,7 @@ Different sources of data provide different sources of keys:
401
401
402
402
Imagine that files on your desktop didn't have names. Instead, you'd refer to them by their order -- the first file, the second file, and so on. You could get used to it, but once you delete a file, it would get confusing. The second file would become the first file, the third file would be the second file, and so on.
403
403
404
-
File names in a folder and JSX keys in an array serve a similar purpose. They let us uniquely identify an item between its siblings. A well-chosen key provides more information than the position within the array. Even if the _position_ changes due to reordering, the `key` lets React identify the item througout its lifetime.
404
+
File names in a folder and JSX keys in an array serve a similar purpose. They let us uniquely identify an item between its siblings. A well-chosen key provides more information than the position within the array. Even if the _position_ changes due to reordering, the `key` lets React identify the item throughout its lifetime.
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
113
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
114
114
url:'https://i.imgur.com/HMFmH6m.jpg',
115
115
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
293
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
294
294
url:'https://i.imgur.com/HMFmH6m.jpg',
295
295
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
478
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
479
479
url:'https://i.imgur.com/HMFmH6m.jpg',
480
480
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
481
481
}, {
@@ -669,7 +669,7 @@ let sculptureList = [{
669
669
}, {
670
670
name:'Terracotta Army',
671
671
artist:'Unknown Artist',
672
-
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
672
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
673
673
url:'https://i.imgur.com/HMFmH6m.jpg',
674
674
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
841
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
842
842
url:'https://i.imgur.com/HMFmH6m.jpg',
843
843
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
1012
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
1013
1013
url:'https://i.imgur.com/HMFmH6m.jpg',
1014
1014
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
1174
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
1175
1175
url:'https://i.imgur.com/HMFmH6m.jpg',
1176
1176
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consited of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
344
+
description:'The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.',
345
345
url:'https://i.imgur.com/HMFmH6m.jpg',
346
346
alt:'12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.'
0 commit comments