Skip to content

Commit ad39962

Browse files
Update creating-a-react-app.md
1 parent 934c051 commit ad39962

File tree

1 file changed

+32
-33
lines changed

1 file changed

+32
-33
lines changed
Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,115 @@
11
---
2-
title: Creating a React App
2+
title: React App बनाने के तरीके
33
---
44

55
<Intro>
66

7-
If you want to build a new app or website with React, we recommend starting with a framework.
7+
अगर आप नया ऐप या वेबसाइट React के साथ बनाना चाहते हैं, तो हम आपको एक फ्रेमवर्क के साथ शुरू करने की सलाह देते हैं।
88

99
</Intro>
1010

11-
## Recommended React frameworks {/*bleeding-edge-react-frameworks*/}
11+
## Recommended React Frameworks {/*bleeding-edge-react-frameworks*/}
1212

13-
These recommended frameworks support all the features you need to deploy and scale your app in production. They have integrated the latest React features and take advantage of React’s architecture.
13+
ये recommended frameworks वो सभी फीचर्स सपोर्ट करते हैं जो आपके ऐप को प्रोडक्शन में डिप्लॉय और स्केल करने के लिए जरूरी होते हैं। ये React की आर्किटेक्चर का पूरा फायदा उठाते हैं और React के नए फीचर्स को इंटीग्रेट करते हैं।
1414

1515
<Note>
1616

17-
#### React frameworks do not require a server. {/*react-frameworks-do-not-require-a-server*/}
17+
#### React frameworks को सर्वर की जरूरत नहीं होती। {/*react-frameworks-do-not-require-a-server*/}
1818

19-
All the frameworks on this page can create single-page apps. Single-page apps can be deployed to a [CDN](https://developer.mozilla.org/en-US/docs/Glossary/CDN) or static hosting service and do not need a server. If you would like to enable features that require a server (like server side rendering), you can opt-in on individual routes without rewriting your app.
19+
इस पेज पर दिए गए सभी frameworks single-page apps बना सकते हैं। Single-page apps को आप [CDN](https://developer.mozilla.org/en-US/docs/Glossary/CDN) या static hosting service पर डिप्लॉय कर सकते हैं और इन्हें सर्वर की जरूरत नहीं होती। अगर आपको सर्वर साइड रेंडरिंग जैसे फीचर्स चाहिए, तो आप इंडिविजुअल रूट्स पर opt-in कर सकते हैं बिना अपने ऐप को दोबारा लिखे।
2020

2121
</Note>
2222

2323
### Next.js (App Router) {/*nextjs-app-router*/}
2424

25-
**[Next.js's App Router](https://nextjs.org/docs) is a React framework that takes full advantage of React's architecture to enable full-stack React apps.**
25+
**[Next.js का App Router](https://nextjs.org/docs) एक React फ्रेमवर्क है जो React की आर्किटेक्चर का पूरा फायदा उठाता है और full-stack React apps बनाने में मदद करता है।**
2626

2727
<TerminalBlock>
2828
npx create-next-app@latest
2929
</TerminalBlock>
3030

31-
Next.js is maintained by [Vercel](https://vercel.com/). You can [deploy a Next.js app](https://nextjs.org/docs/app/building-your-application/deploying) to any Node.js or serverless hosting, or to your own server. Next.js also supports [static export](https://nextjs.org/docs/app/building-your-application/deploying/static-exports) which doesn't require a server. Vercel additionally provides opt-in paid cloud services.
31+
Next.js को [Vercel](https://vercel.com/) मेंटेन करता है। आप [Next.js ऐप](https://nextjs.org/docs/app/building-your-application/deploying) को किसी भी Node.js या serverless hosting पर या अपने सर्वर पर डिप्लॉय कर सकते हैं। Next.js [static export](https://nextjs.org/docs/app/building-your-application/deploying/static-exports) भी सपोर्ट करता है, जो सर्वर की जरूरत नहीं होती। Vercel paid क्लाउड सर्विसेज भी प्रोवाइड करता है, जो opt-in होती हैं।
3232

3333
### React Router (v7) {/*react-router-v7*/}
3434

35-
**[React Router](https://reactrouter.com/start/framework/installation) is the most popular routing library for React and can be paired with Vite to create a full-stack React framework**. It emphasizes standard Web APIs and has several [ready to deploy templates](https://github.com/remix-run/react-router-templates) for various JavaScript runtimes and platforms.
35+
**[React Router](https://reactrouter.com/start/framework/installation) React की सबसे पॉपुलर राउटिंग लाइब्रेरी है और Vite के साथ यूज़ करके full-stack React फ्रेमवर्क बनाया जा सकता है।** ये स्टैंडर्ड Web APIs पर फोकस करता है और कई [ready-to-deploy templates](https://github.com/remix-run/react-router-templates) देता है जो अलग-अलग JavaScript runtimes और प्लेटफार्म्स के लिए होते हैं।
3636

37-
To create a new React Router framework project, run:
37+
नया React Router फ्रेमवर्क प्रोजेक्ट बनाने के लिए, ये कमांड रन करें:
3838

3939
<TerminalBlock>
4040
npx create-react-router@latest
4141
</TerminalBlock>
4242

43-
React Router is maintained by [Shopify](https://www.shopify.com).
43+
React Router को [Shopify](https://www.shopify.com) मेंटेन करता है।
4444

4545
### Expo (for native apps) {/*expo*/}
4646

47-
**[Expo](https://expo.dev/) is a React framework that lets you create universal Android, iOS, and web apps with truly native UIs.** It provides an SDK for [React Native](https://reactnative.dev/) that makes the native parts easier to use. To create a new Expo project, run:
47+
**[Expo](https://expo.dev/) एक React फ्रेमवर्क है जो आपको यूनिवर्सल Android, iOS, और वेब ऐप्स बनाने की सुविधा देता है, जिनमें असली native UIs होते हैं।** ये React Native का एक SDK प्रोवाइड करता है जो native parts को यूज़ करना आसान बनाता है। नया Expo प्रोजेक्ट बनाने के लिए, ये कमांड रन करें:
4848

4949
<TerminalBlock>
5050
npx create-expo-app@latest
5151
</TerminalBlock>
5252

53-
If you're new to Expo, check out the [Expo tutorial](https://docs.expo.dev/tutorial/introduction/).
54-
55-
Expo is maintained by [Expo (the company)](https://expo.dev/about). Building apps with Expo is free, and you can submit them to the Google and Apple app stores without restrictions. Expo additionally provides opt-in paid cloud services.
53+
अगर आप Expo में नए हैं, तो [Expo ट्यूटोरियल](https://docs.expo.dev/tutorial/introduction/) देखें।
5654

55+
Expo को [Expo (the company)](https://expo.dev/about) मेंटेन करता है। Expo के साथ ऐप्स बनाना फ्री है, और आप उन्हें Google और Apple ऐप स्टोर्स पर बिना किसी रेस्ट्रिक्शन के सबमिट कर सकते हैं। Expo paid क्लाउड सर्विसेज भी प्रोवाइड करता है जो opt-in होती हैं।
5756

5857
## Other options {/*other-options*/}
5958

60-
There are other up-and-coming frameworks that are working towards our full stack React vision:
59+
और भी नए फ्रेमवर्क्स हैं जो हमारे full-stack React विज़न की दिशा में काम कर रहे हैं:
6160

62-
- [TanStack Start (Beta)](https://tanstack.com/): TanStack Start is a full-stack React framework powered by TanStack Router. It provides a full-document SSR, streaming, server functions, bundling, and more using tools like Nitro and Vite.
63-
- [RedwoodJS](https://redwoodjs.com/): Redwood is a full stack React framework with lots of pre-installed packages and configuration that makes it easy to build full-stack web applications.
61+
- [TanStack Start (Beta)](https://tanstack.com/): TanStack Start एक full-stack React फ्रेमवर्क है जो TanStack Router पर powered है। ये full-document SSR, streaming, server functions, bundling, और ज्यादा प्रोवाइड करता है Nitro और Vite जैसे टूल्स का इस्तेमाल करके।
62+
- [RedwoodJS](https://redwoodjs.com/): Redwood एक full-stack React फ्रेमवर्क है जिसमें कई pre-installed packages और configuration होते हैं जो full-stack वेब एप्लिकेशन्स बनाना आसान बना देते हैं।
6463

6564
<DeepDive>
6665

67-
#### Which features make up the React team’s full-stack architecture vision? {/*which-features-make-up-the-react-teams-full-stack-architecture-vision*/}
66+
#### कौन से फीचर्स React टीम के Full-Stack आर्किटेक्चर विज़न में शामिल हैं? {/*which-features-make-up-the-react-teams-full-stack-architecture-vision*/}
6867

69-
Next.js's App Router bundler fully implements the official [React Server Components specification](https://github.com/reactjs/rfcs/blob/main/text/0188-server-components.md). This lets you mix build-time, server-only, and interactive components in a single React tree.
68+
Next.js का App Router bundler official [React Server Components specification](https://github.com/reactjs/rfcs/blob/main/text/0188-server-components.md) को पूरी तरह से इम्प्लीमेंट करता है। इससे आप build-time, server-only, और interactive components को एक ही React tree में मिक्स कर सकते हैं।
7069

71-
For example, you can write a server-only React component as an `async` function that reads from a database or from a file. Then you can pass data down from it to your interactive components:
70+
मान लीजिए, आप एक server-only React component लिखते हैं जो एक `async` function के रूप में data या file से पढ़ सकता है। फिर आप इस data को interactive components को पास कर सकते हैं:
7271

7372
```js
74-
// This component runs *only* on the server (or during the build).
73+
// यह component *सिर्फ* सर्वर पर (या build के दौरान) चलेगा।
7574
async function Talks({ confId }) {
76-
// 1. You're on the server, so you can talk to your data layer. API endpoint not required.
75+
// 1. आप सर्वर पर हैं, इसलिए आप अपने data layer से बात कर सकते हैं। API endpoint की जरूरत नहीं।
7776
const talks = await db.Talks.findAll({ confId });
7877

79-
// 2. Add any amount of rendering logic. It won't make your JavaScript bundle larger.
78+
// 2. आप कोई भी rendering logic add कर सकते हैं। ये आपका JavaScript bundle को बड़ा नहीं करेगा।
8079
const videos = talks.map(talk => talk.video);
8180

82-
// 3. Pass the data down to the components that will run in the browser.
81+
// 3. Data को ऐसे components को पास करें जो ब्राउज़र में चलेंगे।
8382
return <SearchableVideoList videos={videos} />;
8483
}
8584
```
8685

87-
Next.js's App Router also integrates [data fetching with Suspense](/blog/2022/03/29/react-v18#suspense-in-data-frameworks). This lets you specify a loading state (like a skeleton placeholder) for different parts of your user interface directly in your React tree:
86+
Next.js का App Router भी [data fetching with Suspense](/blog/2022/03/29/react-v18#suspense-in-data-frameworks) को इंटीग्रेट करता है। इससे आप UI के अलग-अलग हिस्सों के लिए loading state (जैसे skeleton placeholder) सीधे अपने React tree में स्पेसिफाई कर सकते हैं:
8887

8988
```js
9089
<Suspense fallback={<TalksLoading />}>
9190
<Talks confId={conf.id} />
9291
</Suspense>
9392
```
9493

95-
Server Components and Suspense are React features rather than Next.js features. However, adopting them at the framework level requires buy-in and non-trivial implementation work. At the moment, the Next.js App Router is the most complete implementation. The React team is working with bundler developers to make these features easier to implement in the next generation of frameworks.
94+
Server Components और Suspense React के फीचर्स हैं, ना कि Next.js के। हालांकि, इन्हें फ्रेमवर्क लेवल पर अपनाने के लिए काम करना पड़ता है और यह आसान नहीं होता। फिलहाल, Next.js का App Router सबसे पूरा इम्प्लीमेंटेशन है। React टीम bundler डेवलपर्स के साथ मिलकर काम कर रही है ताकि ये फीचर्स अगले जनरेशन के फ्रेमवर्क्स में आसानी से इम्प्लीमेंट किए जा सकें।
9695

9796
</DeepDive>
9897

9998
<Note>
10099

101100

102-
#### Do you recommend Vite? {/*do-you-recommend-vite*/}
101+
#### क्या आप Vite की सिफारिश करते हैं? {/do-you-recommend-vite/}
103102

104-
We provide several Vite-based recommendations.
103+
हम कई Vite-based सिफारिशें देते हैं।
105104

106-
React Router v7 is a Vite based framework which allows you to use Vite's fast development server and build tooling with a framework that provides routing and data fetching. Just like the other frameworks we recommend, you can build a SPA with React Router v7.
105+
React Router v7 एक Vite-based फ्रेमवर्क है जो Vite के फास्ट डेवलपमेंट सर्वर और बिल्ड टूलिंग का इस्तेमाल करता है, और एक ऐसा फ्रेमवर्क प्रोवाइड करता है जो राउटिंग और डाटा फेचिंग करता है। जैसे बाकी फ्रेमवर्क्स हम सुझाते हैं, आप React Router v7 के साथ SPA बना सकते हैं।
107106

108-
We also recommend using Vite when [adding React to an existing project](/learn/add-react-to-an-existing-project), or [building a framework](/learn/building-a-react-framework).
107+
हम यह भी सिफारिश करते हैं कि आप Vite का उपयोग करें जब [React को एक मौजूदा प्रोजेक्ट में जोड़ें](/learn/add-react-to-an-existing-project), या [फ्रेमवर्क बनाएं](/learn/building-a-react-framework)
109108

110-
Just like Svelte has Sveltekit, Vue has Nuxt, and Solid has SolidStart, React recommends using a framework that integrates with build tools like Vite for new projects.
109+
जैसे Svelte के पास Sveltekit है, Vue के पास Nuxt है, और Solid के पास SolidStart है, वैसे React नए प्रोजेक्ट्स के लिए एक फ्रेमवर्क का उपयोग करने की सलाह देता है जो Vite जैसे बिल्ड टूल्स के साथ इंटीग्रेट हो।
111110

112111
</Note>
113112

114113
-----
115114

116-
_If you’re a framework author interested in being included on this page, [please let us know](https://github.com/reactjs/react.dev/issues/new?assignees=&labels=type%3A+framework&projects=&template=3-framework.yml&title=%5BFramework%5D%3A+)._
115+
_अगर आप एक फ्रेमवर्क लेखक हैं और इस पेज पर शामिल होना चाहते हैं, [कृपया हमें बताएं](https://github.com/reactjs/react.dev/issues/new?assignees=&labels=type%3A+framework&projects=&template=3-framework.yml&title=%5BFramework%5D%3A+)_

0 commit comments

Comments
 (0)