Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update adding-interactivity.md #105

Merged
merged 3 commits into from
Feb 9, 2025
Merged

Conversation

sandeepvinnu
Copy link
Contributor

I Translated this page into Telugu.

I Translated this page into Telugu.
Copy link
Collaborator

@srikanth-kandi srikanth-kandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all Thanks for your contribution @sandeepvinnu

But based on your translation, I guess you didn't worked on the translated content and didn't checked it locally on your machine.

  • You missed the glossary terms which are not required to be translated to Telugu. For example: React, state, props etc.
  • You also missed the basic syntax of the Markdown and translated the hyperlinks also.
  • You didn't followed the sentence by sentence translation.
  • You didn't read the translated content before making a pull request.
  • Added multiple new lines before and after the translated content, which make me review the pull request harder.

So to further review this pull request, please try to implement the requested changes.

Thank you

src/content/learn/adding-interactivity.md Outdated Show resolved Hide resolved

Or, if you're already familiar with these topics, why not read about [Managing State](/learn/managing-state)?
లేదా, మీకు ఈ అంశాల గురించి ఇప్పటికే తెలిసి ఉంటే, [మేనేజింగ్ స్టేట్](/learn/managing-state) గురించి ఎందుకు చదవకూడదు?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
లేదా, మీకు ఈ అంశాల గురించి ఇప్పటికే తెలిసి ఉంటే, [మేనేజింగ్ స్టేట్](/learn/managing-state) గురించి ఎందుకు చదవకూడదు?
లేదా, మీకు ఈ టాపిక్స్ గురించి ఇప్పటికే తెలిసి ఉంటే, [మేనేజింగ్ state](/learn/managing-state) గురించి ఎందుకు చదవకూడదు?

src/content/learn/adding-interactivity.md Outdated Show resolved Hide resolved
@@ -789,12 +795,12 @@ function ItemList({ artworks, onToggle }) {

<LearnMore path="/learn/updating-arrays-in-state">

Read **[Updating Arrays in State](/learn/updating-arrays-in-state)** to learn how to update arrays correctly.
శ్రేణులను సరిగ్గా ఎలా అప్‌డేట్ చేయాలో తెలుసుకోవడానికి **[రాష్ట్రంలో శ్రేణులను అప్‌డేట్ చేయడం](/learn/updating-arrays-in-state)** చదవండి.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
శ్రేణులను సరిగ్గా ఎలా అప్‌డేట్ చేయాలో తెలుసుకోవడానికి **[రాష్ట్రంలో శ్రేణులను అప్‌డేట్ చేయడం](/learn/updating-arrays-in-state)** చదవండి.
array లను సరిగ్గా ఎలా అప్‌డేట్ చేయాలో తెలుసుకోవడానికి **[state లో array లను అప్‌డేట్ చేయడం](/learn/updating-arrays-in-state)** గురించి చదవండి.

@@ -705,7 +711,7 @@ function ItemList({ artworks, onToggle }) {

</Sandpack>

If copying arrays in code gets tedious, you can use a library like [Immer](https://github.com/immerjs/use-immer) to reduce repetitive code:
కోడ్‌లో శ్రేణులను కాపీ చేయడం విసుగు తెప్పిస్తే, పునరావృత కోడ్‌ను తగ్గించడానికి మీరు [Immer](https://github.com/immerjs/use-immer) వంటి లైబ్రరీని ఉపయోగించవచ్చు:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
కోడ్‌లో శ్రేణులను కాపీ చేయడం విసుగు తెప్పిస్తే, పునరావృత కోడ్‌ను తగ్గించడానికి మీరు [Immer](https://github.com/immerjs/use-immer) వంటి లైబ్రరీని ఉపయోగించవచ్చు:
కోడ్‌లో array లను కాపీ చేయడం విసుగు తెప్పిస్తే, రిపిటీటివ్ కోడ్‌ను తగ్గించడానికి మీరు [Immer](https://github.com/immerjs/use-immer) అనే లైబ్రరీని ఉపయోగించవచ్చు:

src/content/learn/adding-interactivity.md Outdated Show resolved Hide resolved
src/content/learn/adding-interactivity.md Outdated Show resolved Hide resolved

</LearnMore>

## Updating objects in state {/*updating-objects-in-state*/}
## స్టేట్ట్రంలోని వస్తువులను నవీకరిస్తోంది {/*updating-objects-in-state*/}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## స్టేట్ట్రంలోని వస్తువులను నవీకరిస్తోంది {/*updating-objects-in-state*/}
## state లో ఆబ్జెక్ట్‌లను అప్‌డేట్ చేయడం {/*updating-objects-in-state*/}

## Updating objects in state {/*updating-objects-in-state*/}
## స్టేట్ట్రంలోని వస్తువులను నవీకరిస్తోంది {/*updating-objects-in-state*/}

రియాక్ట్ స్టేట్ ఏదైనా రకంలో జావాస్క్రిప్ట్ విలువను ధరించవచ్చు, స్థితిలో నిలువాలు మరియు అర్రేలు మార్చడానికి డైరెక్ట్‌గా మారాలేదు. స్టేట్ట్రంలో అనివాసించే వస్తువులను మరియు అర్రేలను నవీకరించడానికి, మీరు కొనసాగుతున్న కొత్తవిను సృష్టించండి (లేదా ఇప్పటికే ఉండేవాటిని నకలి చేయండి), మరియు ఆ కోపిని ఉపయోగించి స్టేట్ట్రంని నవీకరించండి.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
రియాక్ట్ స్టేట్ ఏదైనా రకంలో జావాస్క్రిప్ట్ విలువను ధరించవచ్చు, స్థితిలో నిలువాలు మరియు అర్రేలు మార్చడానికి డైరెక్ట్గా మారాలేదు. స్టేట్ట్రంలో అనివాసించే వస్తువులను మరియు అర్రేలను నవీకరించడానికి, మీరు కొనసాగుతున్న కొత్తవిను సృష్టించండి (లేదా ఇప్పటికే ఉండేవాటిని నకలి చేయండి), మరియుకోపిని ఉపయోగించి స్టేట్ట్రంని నవీకరించండి.
state ఆబ్జెక్ట్‌లతో సహా ఎలాంటి JavaScript వేల్యూ ని అయినా కలిగి ఉంటుంది. కానీ మీరు డైరెక్ట్ గా React state లో ఉంచే ఆబ్జెక్ట్లను మరియు array లను చేంజ్ చేయకూడదు. బదులుగా, మీరు ఆబ్జెక్ట్ మరియు array ని అప్‌డేట్ చేయాలనుకున్నప్పుడు, మీరు కొత్తదాన్ని సృష్టించాలి (లేదా ఇప్పటికే ఉన్న దాని కాపీని తయారు చేయాలి), ఆపైకాపీని ఉపయోగించడానికి state ను అప్‌డేట్ చేయాలి.


Usually, you will use the `...` spread syntax to copy objects and arrays that you want to change. For example, updating a nested object could look like this:
సాధారణంగా, మీరు మార్చడానికి కొనసాగుతున్న వస్తువులను కాపీ చేయడానికి `...` విస్తరణ సింటాక్స్‌ను వాడవచ్చు. ఉదాహరణకు, ఒక అడుగులో ఉన్న వస్తువును నవీకరించుటకు ఇలా ఉండవచ్చు:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
సాధారణంగా, మీరు మార్చడానికి కొనసాగుతున్న వస్తువులను కాపీ చేయడానికి `...` విస్తరణ సింటాక్స్‌ను వాడవచ్చు. ఉదాహరణకు, ఒక అడుగులో ఉన్న వస్తువును నవీకరించుటకు ఇలా ఉండవచ్చు:
సాధారణంగా, మీరు మార్చాలనుకుంటున్న ఆబ్జెక్ట్లు మరియు array లను కాపీ చేయడానికి మీరు `...` స్ప్రెడ్ సింటాక్స్‌ని ఉపయోగిస్తారు. ఉదాహరణకు, నెస్టెడ్ ఆబ్జెక్ట్ ను అప్డేట్ చేయడం ఇలా ఉంటుంది:

@srikanth-kandi
Copy link
Collaborator

Hey @sandeepvinnu, are you working on implementing the requested changes?

@srikanth-kandi srikanth-kandi linked an issue Jul 20, 2024 that may be closed by this pull request
@srikanth-kandi srikanth-kandi dismissed their stale review February 9, 2025 09:30

I've manually applied suggestions using batch commit.

Copy link

github-actions bot commented Feb 9, 2025

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@srikanth-kandi srikanth-kandi merged commit 2adb344 into reactjs:main Feb 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Interactivity
2 participants