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

Sync with react.dev @ 91614a51 #330

Merged
merged 3 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/content/community/versioning-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All stable builds of React go through a high level of testing and follow semanti

</Intro>

For a list of previous releases, see the [Versions](/versions) page.
This versioning policy describes our approach to version numbers for packages such as `react` and `react-dom`. For a list of previous releases, see the [Versions](/versions) page.

## Stable releases {/*stable-releases*/}

Expand All @@ -24,7 +24,9 @@ Major releases can also contain new features, and any release can include bug fi

Minor releases are the most common type of release.

### Breaking Changes {/*breaking-changes*/}
We know our users continue to use old versions of React in production. If we learn of a security vulnerability in React, we release a backported fix for all major versions that are affected by the vulnerability.

### Breaking changes {/*breaking-changes*/}

Breaking changes are inconvenient for everyone, so we try to minimize the number of major releases – for example, React 15 was released in April 2016 and React 16 was released in September 2017, and React 17 was released in October 2020.

Expand Down
4 changes: 2 additions & 2 deletions src/content/learn/add-react-to-an-existing-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ title: किसी मौजूदा प्रोजेक्ट में Rea

* **यदि आपका ऐप पहले से ही उन फ़ाइलों में विभाजित है जो `import` स्टेटमेंट का उपयोग करती हैं, तो,** आपके पास पहले से मौजूद सेटअप का उपयोग करने का प्रयास करें।जांचें कि क्या आपके JS कोड में `<div />` लिखना एक सिंटैक्स त्रुटि का कारण बनता है।यदि यह एक सिंटैक्स त्रुटि का कारण बनता है, तो आपको [बाबेल के साथ अपने जावास्क्रिप्ट कोड को बदलने की आवश्यकता हो सकती है](https://babeljs.io/setup),और JSX का उपयोग करने के लिए [बैबेल रिएक्ट प्रीसेट](https://babeljs.io/docs/babel-preset-react) को सक्षम करें।

* **यदि आपके ऐप में जावास्क्रिप्ट मॉड्यूल को संकलित करने के लिए मौजूदा सेटअप नहीं है, तो** इसे [VITE](https://vitejs.dev/) के साथ सेट करें। VITE समुदाय [बैकएंड फ्रेमवर्क के साथ कई एकीकरण](https://github.com/vitejs/awesome-vite#integrations-with-backends) को बनाए रखता है, जिसमें Rail, Django और Laravel शामिल हैं।यदि आपका बैकएंड फ्रेमवर्क सूचीबद्ध नहीं है, तो [इस गाइड का पालन करें](https://vitejs.dev/guide/backend-integration.html) मैन्युअल रूप से आपके बैकएंड के साथ VITE बिल्ड को एकीकृत करने के लिए।
* **यदि आपके ऐप में जावास्क्रिप्ट मॉड्यूल को संकलित करने के लिए मौजूदा सेटअप नहीं है, तो** इसे [Vite](https://vite.dev/) के साथ सेट करें। VITE समुदाय [बैकएंड फ्रेमवर्क के साथ कई एकीकरण](https://github.com/vitejs/awesome-vite#integrations-with-backends) को बनाए रखता है, जिसमें Rail, Django और Laravel शामिल हैं।यदि आपका बैकएंड फ्रेमवर्क सूचीबद्ध नहीं है, तो [इस गाइड का पालन करें](https://vitejs.dev/guide/backend-integration.html) मैन्युअल रूप से आपके बैकएंड के साथ VITE बिल्ड को एकीकृत करने के लिए।

यह जांचने के लिए कि आपका सेटअप काम करता है, इस कमांड को अपने प्रोजेक्ट फ़ोल्डर में चलाएं:

Expand Down Expand Up @@ -85,7 +85,7 @@ root.render(<h1>Hello, world</h1>);

<Note>

पहली बार एक मौजूदा परियोजना में एक मॉड्यूलर जावास्क्रिप्ट वातावरण को एकीकृत करना डराने वाला महसूस कर सकता है, लेकिन यह इसके लायक है!यदि आप अटक जाते हैं, तो हमारे [सामुदायिक संसाधन](/community) या [Vite चैट](https://chat.vitejs.dev/) का प्रयास करें।
पहली बार एक मौजूदा परियोजना में एक मॉड्यूलर जावास्क्रिप्ट वातावरण को एकीकृत करना डराने वाला महसूस कर सकता है, लेकिन यह इसके लायक है!यदि आप अटक जाते हैं, तो हमारे [सामुदायिक संसाधन](/community) या [Vite चैट](https://chat.vite.dev/) का प्रयास करें।

</Note>

Expand Down
Loading