diff --git a/src/content/learn/installation.md b/src/content/learn/installation.md index c5426ea94..6a179dbc5 100644 --- a/src/content/learn/installation.md +++ b/src/content/learn/installation.md @@ -1,57 +1,55 @@ --- -title: Installation +title: Усталяванне --- -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, гэты раздзел дапаможа вам прыступіць да працы. -* [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) +* [Як усталяваць React Developer Tools](/learn/react-developer-tools) -## Try React {/*try-react*/} +## Паспрабуйце React {/*try-react*/} -You don't need to install anything to play with React. Try editing this sandbox! +Вам не трэба нічога ўсталёўваць, каб паспрабаваць React. Паспрабуйце рэдагаваць код у пясочніцы! ```js function Greeting({ name }) { - return

Hello, {name}

; + return

Вітаю, {name}

; } export default function App() { - return + return } ```
-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» у правым верхнім куце. -## 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) Адкрыйце яе ў сваім тэкставым рэдактары і браўзеры! -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) +## Наступныя крокі {/*next-steps*/} +Азнаёмцеся са старонкай «[Хуткі старт](/learn)», каб пазнаёміцца з найбольш важнымі канцэпцыямі React, якімі вы будзеце карыстацца кожны дзень.