Skip to content

Translate Hello World to Polish #4

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 1 commit into from
Feb 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 54 additions & 29 deletions content/docs/hello-world.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,75 @@
---
id: hello-world
title: Hello World
title: Witaj, świecie!
permalink: docs/hello-world.html
prev: cdn-links.html
next: introducing-jsx.html
---

The smallest React example looks like this:
Poniżej znajdziesz przykład najprostszej aplikacji reactowej:

```js
ReactDOM.render(
<h1>Hello, world!</h1>,
<h1>Witaj, świecie!</h1>,
document.getElementById('root')
);
```

It displays a heading saying "Hello, world!" on the page.
Wyświetli ona na stronie nagłówek "Witaj, świecie".

[](codepen://hello-world)
**[Spróbuj w CodePen](codepen://hello-world)**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Na Slacku rozmawialiśmy z @jakubdrozdek, że dobrze byłoby trzymać tę nazwę spójną, jako Przetestuj kod na CodePen? Często będzie się to powtarzać, więc warto trzymać się jednej konwe

Suggested change
**[Spróbuj w CodePen](codepen://hello-world)**
**[Przetestuj kod na CodePen](codepen://hello-world)**

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Racja, te linki powinny mieć jednakowy tekst.


Click the link above to open an online editor. Feel free to make some changes, and see how they affect the output. Most pages in this guide will have editable examples like this one.
Kliknij w powyższy link, aby otworzyć edytor kodu w przeglądarce.
Możesz śmiało dokonywać w nim zmian, zobaczysz też jak wpływają one na to,
co jest wyświetlane na stronie. Większość stron w tym kursie udostępnia Ci
przykłady, które możesz modyfikować.


## How to Read This Guide {#how-to-read-this-guide}
## Jak używać tego przewodnika {#how-to-read-this-guide}

In this guide, we will examine the building blocks of React apps: elements and components. Once you master them, you can create complex apps from small reusable pieces.
W niniejszym kursie zapoznamy się z podstawowymi elementami aplikacji reactowej:
elementami i komponentami. Korzystając z nich, możesz tworzyć rozbudowane
aplikacje w oparciu o mniejsze części, dające się wielokrotnie wykorzystywać.

>Tip
>Wskazówka
>
>This guide is designed for people who prefer **learning concepts step by step**. If you prefer to learn by doing, check out our [practical tutorial](/tutorial/tutorial.html). You might find this guide and the tutorial complementary to each other.

This is the first chapter in a step-by-step guide about main React concepts. You can find a list of all its chapters in the navigation sidebar. If you're reading this from a mobile device, you can access the navigation by pressing the button in the bottom right corner of your screen.

Every chapter in this guide builds on the knowledge introduced in earlier chapters. **You can learn most of React by reading the “Main Concepts” guide chapters in the order they appear in the sidebar.** For example, [“Introducing JSX”](/docs/introducing-jsx.html) is the next chapter after this one.

## Knowledge Level Assumptions {#knowledge-level-assumptions}

React is a JavaScript library, and so we'll assume you have a basic understanding of the JavaScript language. **If you don't feel very confident, we recommend [going through a JavaScript tutorial](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript) to check your knowledge level** and enable you to follow along this guide without getting lost. It might take you between 30 minutes and an hour, but as a result you won't have to feel like you're learning both React and JavaScript at the same time.

>Note
>
>This guide occasionally uses some of the newer JavaScript syntax in the examples. If you haven't worked with JavaScript in the last few years, [these three points](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) should get you most of the way.


## Let's Get Started! {#lets-get-started}

Keep scrolling down, and you'll find the link to the [next chapter of this guide](/docs/introducing-jsx.html) right before the website footer.


> Kurs ten skierowany jest do osób, które wolą się uczyć
> nowych koncepcji **krok po kroku**. Jeśli jednak wolisz zdobywać wiedzę poprzez
> ćwiczenia, możesz skorzystać z [kursu praktycznego](/tutorial/tutorial.html).
> Obydwa kursy świetnie się uzupełniają.

Masz przed sobą pierwszy rozdział kursu teoretycznego dotyczącego głównych koncepcji Reacta.
Lista dostępnych rozdziałów znajduje się w bocznym pasku nawigacji. Jeśli czytasz ten kurs
na urządzeniu mobilnym, możesz przemieszczać się po stronie wciskając przycisk w prawym dolnym
rogu ekranu.

Każdy rozdział w tym kursie uzupełnia wiedzę w oparciu o poprzednie rozdziały.
**Wielu przypadków użycia Reacta możesz się nauczyć czytając rozdziały
w sekcji "Główne idee", zapoznając się z nimi w kolejności, w jakiej pojawiają się w pasku
nawigacji**. Przykładowo, [“Wprowadzenie do JSX”](/docs/introducing-jsx.html) jest
następnym w kojeności rozdziałem.


## Wymagania początkowe {#knowledge-level-assumptions}

React jest biblioteką JavaScriptową, stąd też zakładamy, że czytelnik dysponuje
pewną podstawową wiedzą o tym języku. **Jeśli czujesz się niezbyt pewnie, polecamy
zapoznanie się z kursem ["Ponowne wprowadzenie do JavaScriptu"](https://developer.mozilla.org/pl/docs/Web/JavaScript/Ponowne_wprowadzenie_do_JavaScript),
który pozwoli Ci ocenić swoją wiedzę** oraz będzie stanowić bazę do sprawnego
poruszania się po kursie Reacta. Choć zapoznanie się z tamtym kursem może zająć
Ci około 30-60 minut, to nie będziesz mieć poczucia, że uczysz się jednocześnie
JavaScriptu i Reacta.

> Zauważ, że...
>
> W naszym poradniku mogą sporadycznie pojawiać się przykłady
> oparte o nowszą składnię JavaScriptu. Jeśli od dłuższego czasu nie śledzisz
> rozwoju języka, [te trzy punkty (ang.)](https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c)
> mogą okazać się pomocne.



## Zaczynajmy! {#lets-get-started}

Kontynuuj przewijanie strony, aby dotrzeć do linku do [następnego rozdziału](/docs/introducing-jsx.html).
Znajduje się on tuż przed stopką strony.