-
Notifications
You must be signed in to change notification settings - Fork 6
Belarusian translation: Installation #7
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
Changes from 2 commits
ba0f21a
2872966
29647fa
78a2074
80390cb
7237364
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,55 @@ | ||
--- | ||
title: Installation | ||
title: Усталяванне | ||
--- | ||
|
||
<Intro> | ||
|
||
React has been designed from the start for gradual adoption. You can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to an HTML page, or start a complex React-powered app, this section will help you get started. | ||
React быў распрацаваны для паступовага ўкаранення. Вы можаце выкарыстоўваць столькі React, колькі вам трэба. Калі вы хочаце паспрабаваць React, дадаць трохі інтэрактыўнасці HTML старонцы або стварыць складаную праграму на React, гэты раздел дапаможа вам прыступіць да працы. | ||
|
||
</Intro> | ||
|
||
<YouWillLearn isChapter={true}> | ||
|
||
* [How to start a new React project](/learn/start-a-new-react-project) | ||
* [How to add React to an existing project](/learn/add-react-to-an-existing-project) | ||
* [How to set up your editor](/learn/editor-setup) | ||
* [How to install React Developer Tools](/learn/react-developer-tools) | ||
|
||
* [Як стварыць новы React праект](/learn/start-a-new-react-project) | ||
* [Як дадаць React ў існуючы праект](/learn/add-react-to-an-existing-project) | ||
* [Як наладзіць рэдатор коду](/learn/editor-setup) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Магчыма памылка друку "рэдактар" |
||
* [Як усталяваць React Developer Tools](/learn/react-developer-tools) | ||
|
||
</YouWillLearn> | ||
|
||
## Try React {/*try-react*/} | ||
## Паспрабуйце React {/*try-react*/} | ||
|
||
You don't need to install anything to play with React. Try editing this sandbox! | ||
Вам не трэба нічога усталёўваць, каб паспрабаваць React. Паспрабуйце рэдагаваць код у пясочніцы! | ||
|
||
<Sandpack> | ||
|
||
```js | ||
function Greeting({ name }) { | ||
return <h1>Hello, {name}</h1>; | ||
return <h1>Вітаю, {name}</h1>; | ||
} | ||
|
||
export default function App() { | ||
return <Greeting name="world" /> | ||
return <Greeting name="свет" /> | ||
} | ||
``` | ||
|
||
</Sandpack> | ||
|
||
You can edit it directly or open it in a new tab by pressing the "Fork" button in the upper right corner. | ||
|
||
Most pages in the React documentation contain sandboxes like this. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), or [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) | ||
|
||
### Try React locally {/*try-react-locally*/} | ||
|
||
To try React locally on your computer, [download this HTML page.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Open it in your editor and in your browser! | ||
Вы можаце рэдагаваць код прама тут, або адкрыць у новай укладцы, націснуўшы кнопцы «Fork» у правым верхнім куце. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Націснуўшы кнопку* |
||
|
||
## Start a new React project {/*start-a-new-react-project*/} | ||
Большасць старонак дакументацыі React утрымліваюць пясочніцы падобныя гэтай. Па-за дакументацыяй React існуюць і іншыя анлайн-пясочніцы, якія падтрымліваюць React: напрыклад, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), або [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) | ||
|
||
If you want to build an app or a website fully with React, [start a new React project.](/learn/start-a-new-react-project) | ||
### Паспрабаваць React лакальна {/*try-react-locally*/} | ||
|
||
## Add React to an existing project {/*add-react-to-an-existing-project*/} | ||
Каб паспрабавать React лакальна на вашым камп’ютары, [загрзіце гэтую HTML старонку.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Адкрыйце яе ў сваім тэкставым рэдактары і браўзеры! | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Можа лепш "спампуйце гэтую HTML старонку? |
||
|
||
If want to try using React in your existing app or a website, [add React to an existing project.](/learn/add-react-to-an-existing-project) | ||
## Стварыць новы React праект {/*start-a-new-react-project*/} | ||
Калі вы хочаце стварыць праграму або вэб-сайт цалкам на React, [стварыце новы React праект.](/learn/start-a-new-react-project) | ||
|
||
## Next steps {/*next-steps*/} | ||
## Дадаць React ў існуючы праект {/*add-react-to-an-existing-project*/} | ||
|
||
Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day. | ||
Калі вы хочаце дадаць React ў існуючую праграму або вэб-сайты, [дадайце React ў існуючы праект.](/learn/add-react-to-an-existing-project) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Можа нешта кшталту : |
||
|
||
## Наступныя крокі {/*next-steps*/} | ||
Азнаемцеся са старонкай «[Хуткі старт](/learn)», каб пазнаеміцца з найбольш важнымі канцэпцыямі React, якімі вы будзеце карыстацца кожны дзень. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можа лепш неяк:
Як стварыць новы праект з реакт?