Skip to content

Commit 11c45c5

Browse files
fix: update installation and tutorial documentation for clarity and accuracy
1 parent a477191 commit 11c45c5

File tree

2 files changed

+4
-37
lines changed

2 files changed

+4
-37
lines changed

src/content/learn/installation.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,38 +36,21 @@ React డాక్యుమెంటేషన్‌లోని చాలా ప
3636

3737
కొత్త React యాప్‌ను ప్రారంభించాలని అనుకుంటే, మీరు సిఫార్సు చేసిన ఫ్రేమ్‌వర్క్‌ను ఉపయోగించి [React యాప్‌ను సృష్టించవచ్చు](/learn/creating-a-react-app).
3838

39-
<<<<<<< HEAD
40-
## React ఫ్రేమ్‌వర్క్‌ను నిర్మించడం {/*build-a-react-framework*/}
39+
## స్క్రాచ్ నుండి React యాప్ ని నిర్మించండి {/*build-a-react-app-from-scratch*/}
4140

42-
మీ ప్రాజెక్ట్‌కు ఏ ఫ్రేమ్‌వర్క్ సరిపోకపోతే, లేదా మీరు మీ స్వంత ఫ్రేమ్‌వర్క్ నిర్మించడం ప్రారంభించాలనుకుంటే, [మీ స్వంత React ఫ్రేమ్‌వర్క్‌ను నిర్మించండి](/learn/building-a-react-framework).
43-
=======
44-
## Build a React App from Scratch {/*build-a-react-app-from-scratch*/}
45-
46-
If a framework is not a good fit for your project, you prefer to build your own framework, or you just want to learn the basics of a React app you can [build a React app from scratch](/learn/build-a-react-app-from-scratch).
47-
>>>>>>> fc29603434ec04621139738f4740caed89d659a7
41+
మీ ప్రాజెక్ట్‌కు ఫ్రేమ్‌వర్క్ సరిపోకపోతే, మీ స్వంత ఫ్రేమ్‌వర్క్ నిర్మించాలనుకుంటే, లేదా React యాప్ యొక్క ప్రాథమిక అంశాలను నేర్చుకోవాలనుకుంటే, మీరు [స్క్రాచ్ నుండి React యాప్‌ను నిర్మించవచ్చు](/learn/build-a-react-app-from-scratch).
4842

4943
## ఇప్పటికే ఉన్న ప్రాజెక్ట్‌కు React జోడించండి {/*add-react-to-an-existing-project*/}
5044

5145
మీ ప్రస్తుత యాప్ లేదా వెబ్‌సైట్‌లో React ను ఉపయోగించాలనుకుంటే, [ఇప్పటికే ఉన్న ప్రాజెక్ట్‌కు React జోడించండి.](/learn/add-react-to-an-existing-project)
5246

53-
<<<<<<< HEAD
54-
## వాడుక లో లేని ఆప్షన్స్ {/*deprecated-options*/}
55-
56-
### Create React App (వాడుకలో లేదు) {/*create-react-app-deprecated*/}
57-
58-
Create React App అనేది ఒక పాత టూల్, కొత్త React యాప్‌లను రూపొందించడానికి ఇంతకుముందు సిఫార్సు చేయబడేది. మీరు కొత్త React యాప్‌ను ప్రారంభించాలని అనుకుంటే, [React యాప్‌ను క్రియేట్ చేయడం](/learn/creating-a-react-app) లో సిఫార్సు చేసిన ఫ్రేమ్‌వర్క్‌ను ఉపయోగించవచ్చు.
59-
60-
మరిన్ని వివరాల కోసం, [Sunsetting Create React App](/blog/2025/02/14/sunsetting-create-react-app) చూడండి.
61-
=======
62-
6347
<Note>
6448

65-
#### Should I use Create React App? {/*should-i-use-create-react-app*/}
49+
#### నేను Create React App ఉపయోగించాలా? {/*should-i-use-create-react-app*/}
6650

67-
No. Create React App has been deprecated. For more information, see [Sunsetting Create React App](/blog/2025/02/14/sunsetting-create-react-app).
51+
లేదు. Create React App అనేది వాడుకలో లేదు. మరిన్ని వివరాల కోసం [Sunsetting Create React App](/blog/2025/02/14/sunsetting-create-react-app) చూడండి.
6852

6953
</Note>
70-
>>>>>>> fc29603434ec04621139738f4740caed89d659a7
7154

7255
## తదుపరి చర్యలు {/*next-steps*/}
7356

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,7 @@ export default function Square() {
295295
}
296296
```
297297

298-
<<<<<<< HEAD
299298
_బ్రౌసర్_ విభాగం ఇలా X తో కూడిన స్క్వేర్ ని ప్రదర్శించాలి:
300-
=======
301-
The _browser_ section should be displaying a square with an X in it like this:
302-
>>>>>>> fc29603434ec04621139738f4740caed89d659a7
303299

304300
![X నిండిన స్క్వేర్](../images/tutorial/x-filled-square.png)
305301

@@ -1329,11 +1325,7 @@ body {
13291325
1. `squares` array లోని మొదటి ఎలిమెంట్ ని `null` నుండి `X` కి అప్డేట్ చేయడానికి `handleClick` ఆర్గ్యుమెంట్ (`0`) ని ఉపయోగిస్తుంది.
13301326
1. `Board` కాంపోనెంట్ యొక్క `squares` state అప్డేట్ చేయబడింది, కాబట్టి `Board` మరియు దాని చైల్డ్స్ అందరూ మళ్ళీ రెండర్ అవుతారు. ఇది `0` ఇండెక్స్తో ఉన్న `Square` కాంపోనెంట్ యొక్క `value` ప్రాప్‌ను `null` నుండి `X` కి మార్చడానికి కారణమవుతుంది.
13311327
1332-
<<<<<<< HEAD
13331328
చివరగా, యూసర్ టాప్ లెఫ్ట్ స్క్వేర్‌ని క్లిక్ చేసిన తర్వాత అది ఖాళీ నుండి `X` గా మారడం చూస్తారు.
1334-
=======
1335-
In the end the user sees that the upper left square has changed from empty to having an `X` after clicking it.
1336-
>>>>>>> fc29603434ec04621139738f4740caed89d659a7
13371329
13381330
<Note>
13391331
@@ -1414,11 +1406,7 @@ export default function Board() {
14141406
14151407
`X` ఒక `O` ద్వారా ఒవెర్రైట్ చేయబడింది! ఇది గేమ్‌కు చాలా ఆసక్తికరమైన ట్విస్ట్‌ని జోడిస్తుంది, మనం ప్రస్తుతానికి ఒరిజినల్ రూల్స్ కు కట్టుబడి ఉందాము.
14161408
1417-
<<<<<<< HEAD
14181409
మీరు స్క్వేర్‌ను `X` లేదా `O` తో మార్క్ చేసినప్పుడు, స్క్వేర్‌లో ఇప్పటికే `X` లేదా `O` వేల్యూ ఉందో లేదో తనిఖీ చేయడం లేదు. మీరు *ఎర్లీగా రిటర్న్ చేయడం* ద్వారా దీన్ని పరిష్కరించవచ్చు. స్క్వేర్‌లో ఇప్పటికే `X` లేదా `O` ఉందో లేదో మీరు తనిఖీ చేస్తారు. స్క్వేర్ ఇప్పటికే ఫిల్ అయి ఉంటే, మీరు ముందుగా `handleClick` ఫంక్షన్‌లో `return` అవుతారు--ఇది బోర్డ్ state ని అప్డేట్ చేయడానికి ప్రయత్నించే ముందు.
1419-
=======
1420-
When you mark a square with an `X` or an `O` you aren't first checking to see if the square already has an `X` or `O` value. You can fix this by *returning early*. You'll check to see if the square already has an `X` or an `O`. If the square is already filled, you will `return` in the `handleClick` function early--before it tries to update the board state.
1421-
>>>>>>> fc29603434ec04621139738f4740caed89d659a7
14221410
14231411
```js {2,3,4}
14241412
function handleClick(i) {
@@ -1568,11 +1556,7 @@ function calculateWinner(squares) {
15681556
15691557
</Note>
15701558
1571-
<<<<<<< HEAD
15721559
ప్లేయర్ గెలిచాడో లేదో తనిఖీ చేయడానికి మీరు `Board` కాంపోనెంట్ యొక్క `handleClick` ఫంక్షన్‌లో `calculateWinner(squares)` ని కాల్ చేస్తారు. యూసర్ ఇప్పటికే `X` లేదా `O` ని కలిగి ఉన్న స్క్వేర్‌ని క్లిక్ చేశారో లేదో తనిఖీ చేసే సమయంలోనే మీరు ఈ తనిఖీని పెర్ఫర్మ్ చేయవచ్చు. మేము రెండు సందర్భాల్లో ఎర్లీగా రిటర్న్ చేయాలనుకుంటున్నాను:
1573-
=======
1574-
You will call `calculateWinner(squares)` in the `Board` component's `handleClick` function to check if a player has won. You can perform this check at the same time you check if a user has clicked a square that already has an `X` or an `O`. We'd like to return early in both cases:
1575-
>>>>>>> fc29603434ec04621139738f4740caed89d659a7
15761560
15771561
```js {2}
15781562
function handleClick(i) {

0 commit comments

Comments
 (0)