-
Notifications
You must be signed in to change notification settings - Fork 390
Installation translation #842
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d555f64
Add translation to "Installation"
Palidos 7dc884f
Fix сonjunction
Palidos 03f0947
Add review suggestions
Palidos a2ef011
Fix line break
Palidos 5dd5d4d
Delete extra line
Palidos b4ba28d
delete translation for UI elements
Palidos da6fed9
add another round of fixes
Palidos 765c9f6
Add suggestion
Palidos a0ee218
Add suggestion
Palidos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,58 @@ | ||
--- | ||
title: Installation | ||
--- | ||
|
||
<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. | ||
|
||
</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) | ||
|
||
</YouWillLearn> | ||
|
||
## Try React {/*try-react*/} | ||
|
||
You don't need to install anything to play with React. Try editing this sandbox! | ||
|
||
<Sandpack> | ||
|
||
```js | ||
function Greeting({ name }) { | ||
return <h1>Hello, {name}</h1>; | ||
} | ||
|
||
export default function App() { | ||
return <Greeting name="world" /> | ||
} | ||
``` | ||
|
||
</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! | ||
|
||
## Start a new React project {/*start-a-new-react-project*/} | ||
|
||
If you want to build an app or a website fully with React, [start a new React project.](/learn/start-a-new-react-project) | ||
|
||
## Add React to an existing project {/*add-react-to-an-existing-project*/} | ||
|
||
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) | ||
|
||
## Next steps {/*next-steps*/} | ||
|
||
Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day. | ||
|
||
--- | ||
title: Установка | ||
--- | ||
|
||
<Intro> | ||
|
||
React изначально был спроектирован так, чтобы его можно было внедрять постепенно. Другими словами, вы можете начать с малого и использовать только ту функциональность React, которая необходима вам в данный момент. Информация в этом разделе будет полезна в любой ситуации: при первом знакомстве с React, при создании простой динамической HTML-страницы и даже при проектировании сложного React-приложения. | ||
gcor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
</Intro> | ||
|
||
<YouWillLearn isChapter={true}> | ||
|
||
* [Как создать новый React проект](/learn/start-a-new-react-project) | ||
ntishkevich marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* [Как добавить React в уже существующий проект](/learn/add-react-to-an-existing-project) | ||
gcor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* [Как настроить редактор кода](/learn/editor-setup) | ||
* [Как установить React Developer Tools](/learn/react-developer-tools) | ||
|
||
</YouWillLearn> | ||
|
||
## Пробуем React {/*try-react*/} | ||
|
||
Чтобы попробовать React, даже устанавливать ничего не нужно. Редактируйте прямо в песочнице! | ||
|
||
<Sandpack> | ||
|
||
```js | ||
function Greeting({ name }) { | ||
return <h1>Hello, {name}</h1>; | ||
} | ||
|
||
export default function App() { | ||
return <Greeting name="world" /> | ||
} | ||
``` | ||
|
||
</Sandpack> | ||
|
||
Вы можете редактировать прямо здесь или же открыть код в новой вкладке, нажав на кнопку "Форкнуть" в правом верхнем углу. | ||
|
||
Такие песочницы есть на большинстве страниц 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) | ||
gcor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Поиграть с React локально {/*try-react-locally*/} | ||
ntishkevich marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Что бы поиграть с React локально на вашем компьютере, [скачайте эту HTML страницу.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Откройте ее в своем текстовом редакторе и браузере! | ||
|
||
## Начать новый React проект {/*start-a-new-react-project*/} | ||
gcor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Если вы хотите создать приложение или сайт полностью на React — [создайте новый React проект.](/learn/start-a-new-react-project) | ||
|
||
## Добавить React в уже существующий проект {/*add-react-to-an-existing-project*/} | ||
|
||
Если вы хотите использовать React в уже существующем приложении или сайте — [добавьте React в уже существующий проект.](/learn/add-react-to-an-existing-project) | ||
|
||
## Дальнейшие шаги {/*next-steps*/} | ||
|
||
Перейдите к [Введению в React](/learn) для ознакомления с самыми важными его концепциями. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.