Skip to content

Commit d0b6531

Browse files
authored
Merge pull request #266 from galnir/beta-docs-start-a-new-react-project
translate start-a-new-react-project
2 parents ffddbd4 + d94f038 commit d0b6531

1 file changed

Lines changed: 31 additions & 31 deletions

File tree

beta/src/pages/learn/start-a-new-react-project.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@ title: Start a New React Project
44

55
<Intro>
66

7-
If you're learning React or considering adding it to an existing project, you can get started quickly by [adding React to any HTML page with script tags](/learn/add-react-to-a-website). If your project will need many components and many files, it might be time to consider the options below!
7+
בין אם אתה לומד ריאקט או שוקל להשתמש בספרייה בפרויקט קיים, תוכל להתחיל מיד על ידי [הוספת ריאקט לדף HTML באמצעות תגית script](/learn/add-react-to-a-website). אם הפרויקט שלך יהיה זקוק להרבה קומפוננטות וקבצים, יהיה עדיף לשקול את האופציות בהמשך העמוד.
88

99
</Intro>
1010

11-
## Choose your own adventure {/*choose-your-own-adventure*/}
11+
## בחר את הדרך שלך {/*choose-your-own-adventure*/}
1212

13-
React is a library that lets you organize UI code by breaking it apart into pieces called components. React doesn't take care of routing or data management. For these features, you'll want to use third-party libraries or write your own solutions. This means there are several ways to start a new React project:
13+
ריאקט היא ספרייה שנותנת לנו לארגן קוד UI על ידי הפרדתו לחלקים שנקראים קומפוננטות. ריאקט לא מטפלת בשבילנו בניתוב(routing) או בניהול מידע. בשביל לנתב או לנהל מידע, נצטרך להתקין ספריות צד שלישי או לכתוב פתרונות משלנו. זה אומר שישנם כמה דרכים להתחיל פרויקט ריאקט חדש:
1414

15-
* Start with a **minimal set up with just a toolchain,** adding features to your project as necessary.
16-
* Start with an **opinionated framework** with common functionality already built in.
15+
* להתחיל עם **סט כלים מינימלי**, ולהוסיף פיצ׳רים לפרוייקט כשנצטרך אותם.
16+
* להתחיל עם **פריימוורק** שמכיל בתוכו פיצ׳רים נפוצים.
1717

18-
Whether you're just getting started, looking to build something big, or want to set up your own toolchain, this guide will set you on the right path.
18+
בין אם אתה רק מתחיל, מנסה לבנות משהו גדול, או רוצה לבנות סט כלים משלך, המדריך הזה יכוון אותך לדרך הנכונה.
1919

20-
## Getting started with a React toolchain {/*getting-started-with-a-react-toolchain*/}
20+
## להתחיל עם סט כלים של ריאקט {/*getting-started-with-a-react-toolchain*/}
2121

22-
If you're just getting started with React, we recommend [Create React App](https://create-react-app.dev/), the most popular way to try out React's features and a great way to build a new single-page, client-side application. Create React App is an unopinionated toolchain configured just for React. Toolchains help with things like:
22+
אם אתה רק מתחיל עם ריאקט, אנחנו ממליצים על [Create React App](https://create-react-app.dev/), שהיא דרך פופולרית לנסות פיצ׳רים של ריאקט ולבנות אפליקציית צד לקוח. Create React App הוא סט כלים שעוצב במיוחד בשביל ריאקט. כלים כמו CRA עוזרים לנו בדברים כמו:
2323

24-
* Scaling to many files and components
25-
* Using third-party libraries from npm
26-
* Detecting common mistakes early
27-
* Live-editing CSS and JS in development
28-
* Optimizing the output for production
24+
* ניהול מספר רב של קבצים וקומפוננטות
25+
* שימוש בספריות צד שלישי מ-npm
26+
* הימנעות מטעויות נפוצות כבר מההתחלה
27+
* שינוי בלייב של CSS וקוד JS בזמן פיתוח
28+
* אופטימיזציה של הקוד לפרודקשן
2929

30-
You can get started building with Create React App with one line of code in your terminal! (**Be sure you have [Node.js](https://nodejs.org/) installed!**)
30+
ניתן להתחיל לכתוב ריאקט עם Create React App באמצעות השורה הבאה בטרמינל (**וודא שיש לך [Node.js](https://nodejs.org/) מותקן!**)
3131

3232
<TerminalBlock>
3333

3434
npx create-react-app my-app
3535

3636
</TerminalBlock>
3737

38-
Now you can run your app with:
38+
עכשיו אפשר להריץ את הקוד שלנו באמצעות:
3939

4040
<TerminalBlock>
4141

@@ -44,37 +44,37 @@ npm start
4444

4545
</TerminalBlock>
4646

47-
For more information, [check out the official guide](https://create-react-app.dev/docs/getting-started).
47+
למידע נוסף, [קרא את הדוקומנטציה הרשמית](https://create-react-app.dev/docs/getting-started).
4848

49-
> Create React App doesn't handle backend logic or databases; it just creates a frontend build pipeline. This means you can use it with any backend you want. But if you're looking for more features like routing and server-side logic, read on!
49+
Create React App לא מטפלת בלוגיקה של הבקאנד, הכלי רק יוצר frontend build pipeline. זה אומר שניתן להשתמש באיזה בקאנד שנרצה עם CRA. אם אתה מחפש פיצ׳רים נוספים כמו ניתוב ולוגיקת צד שרת, תמשיך לקרוא!
5050

51-
### Other options {/*other-options*/}
51+
### אופציות נוספות {/*other-options*/}
5252

53-
Create React App is great to get started working with React, but if you'd like an even lighter toolchain, you might try one of these other popular toolchains:
53+
Create React App היא מעולה כדי להתחיל לעבוד עם ריאקט, אבל אם תרצה סט כלים יותר קטן, תוכל לנסות את אחד הכלים הבאים:
5454

5555
* [Vite](https://vitejs.dev/guide/)
5656
* [Parcel](https://parceljs.org/)
5757
* [Snowpack](https://www.snowpack.dev/tutorials/react)
5858

59-
## Building with React and a framework {/*building-with-react-and-a-framework*/}
59+
## כתיבת אפליקציה עם ריאקט ופריימוורק {/*building-with-react-and-a-framework*/}
6060

61-
If you're looking to start a bigger, production-ready project, [Next.js](https://nextjs.org/) is a great place to start. Next.js is a popular, lightweight framework for static and serverrendered applications built with React. It comes pre-packaged with features like routing, styling, and server-side rendering, getting your project up and running quickly.
61+
אם אתה מחפש להתחיל פרוייקט גדול יותר שיכול לרוץ בפרוקדשן, [Next.js](https://nextjs.org/) היא מקום מעולה להתחיל ממנו. Next.js הוא פריימוורק פופולרי שנועד לכתיבת אפליקציות סטטיות ואפליקציות server-rendered עם ריאקט. הפריימוורק מכיל פיצ׳רים כמו ניתוב, styling, ורינדור צד שרת, מה שמאפשר להרים פרוייקט במהירות.
6262

63-
[Get started building with Next.js](https://nextjs.org/docs/getting-started) with the official guide.
63+
[התחל עם Next.js](https://nextjs.org/docs/getting-started) עם המדריך הרשמי.
6464

65-
### Other options {/*other-options-1*/}
65+
### אופציות נוספות {/*other-options-1*/}
6666

67-
* [Gatsby](https://www.gatsbyjs.org/) lets you generate static websites with React with GraphQL.
68-
* [Razzle](https://razzlejs.org/) is a server-rendering framework that doesn't require any configuration, but offers more flexibility than Next.js.
67+
* נותן לכתוב אתרים סטטיים באמצעות ריאקט ו-GraphQL. [Gatsby](https://www.gatsbyjs.org/)
68+
* [Razzle](https://razzlejs.org/) הוא פריימוורק עם רינדור בצד שרת שלא דורש קונפיגורציה, אבל מאפשר יותר גמישות מ-Next.js.
6969

7070
## Custom toolchains {/*custom-toolchains*/}
7171

72-
You may prefer to create and configure your own toolchain. A JavaScript build toolchain typically consists of:
72+
יכול להיות שאתה מעדיף ליצור ולקנפג סט כלים משלך. סט כלים ב-JavaScript מכיל בדרך כלל:
7373

74-
* A **package manager**—lets you install, update and manage third-party packages. [Yarn](https://yarnpkg.com/) and [npm](https://www.npmjs.com/) are two popular package managers.
75-
* A **bundler**—lets you write modular code and bundle it together into small packages to optimize load time. [Webpack](https://webpack.js.org/), [Snowpack](https://www.snowpack.dev/), [Parcel](https://parceljs.org/) are several popular bundlers.
76-
* A **compiler**—lets you write modern JavaScript code that still works in older browsers. [Babel](https://babeljs.io/) is one such example.
74+
* **מנהל חבילות**- מאפשר להתקין, לעדכן ולנהל ספריות צד שלישי. [Yarn](https://yarnpkg.com/) ו-[npm](https://www.npmjs.com/) הם שני מנהלי חבילות פופולריים.
75+
* **באנדלר**- מאפשר לנו לכתוב קוד מודולרי ואורז אותו לתוך חלקים קטנים, מה שמוריד את זמני הטעינה. [Webpack](https://webpack.js.org/), [Snowpack](https://www.snowpack.dev/), ו-[Parcel](https://parceljs.org/) הם באנדלרים פופולריים (הערת המתרגם - גם [vite](https://vitejs.dev/) אחלה).
76+
* **קומפיילר**- מאפשר לנו לכתוב קוד JavaScript מודרני שעובד בדפדפנים ישנים. [Babel](https://babeljs.io/) הוא דוגמה אחת.
7777

78-
In a larger project, you might also want to have a tool to manage multiple packages in a single repository. [Nx](https://nx.dev/react) is an example of such a tool.
78+
בפרוייקט גדול יותר, יכול להיות שיהיה צורך בכלי שמנהל מספר חבילות ב-repo אחד. [Nx](https://nx.dev/react) הוא דוגמה לכלי כזה.
7979

80-
If you prefer to set up your own JavaScript toolchain from scratch, [check out this guide](https://blog.usejournal.com/creating-a-react-app-from-scratch-f3c693b84658) that re-creates some of the Create React App functionality.
80+
אם אתה מעדיף להקים סט כלים משלך מאפס, [מדריך זה](https://blog.usejournal.com/creating-a-react-app-from-scratch-f3c693b84658) יוצר מאפס חלק מהפונקציונליות של Create React App.

0 commit comments

Comments
 (0)