Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions src/content/learn/managing-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Sovelluksesi kasvaessa, kannattaa olla tietoinen miten tilasi on järjestetty se

</YouWillLearn>

## Tilan reagointi syötteeseen {/*reacting-to-input-with-state*/}
## Reagointi syötteeseen tilalla {/*reacting-to-input-with-state*/}

Reactissa et muokkaa käyttöliittymäkoodia suoraan. Esimerkiksi, et kirjoita komentoja kuten "poista painike käytöstä", "ota painike käyttöön", "näytä onnistumisviesti", jne. Sen sijaan kerrot käyttöliittymän, jonka haluat nähdä erilaisissa komponentin tiloissa ("alkutila", "kirjoitetaan -tila", "onnistumistila"), ja sitten vaihdat tilaa käyttäjän syötteen pohjalta. Tämä vastaa samaa kuin miten suunnittelijat ajattelevat käyttöliittymiä.

Expand Down Expand Up @@ -103,7 +103,7 @@ function submitForm(answer) {

<LearnMore path="/learn/reacting-to-input-with-state">

Lue **[Reacting to Input with State](/learn/reacting-to-input-with-state)** oppiaksesi lähestymään vuorovaikutusta tilalähtöisellä ajattelutavalla.
Lue **[Reagointi syötteeseen tilalla](/learn/reacting-to-input-with-state)** oppiaksesi lähestymään vuorovaikutusta tilalähtöisellä ajattelutavalla.

</LearnMore>

Expand Down Expand Up @@ -773,7 +773,7 @@ Lue **[Tiedon välittäminen syvälle kontekstilla](/learn/passing-data-deeply-w

</LearnMore>

## Skaalaus reducerilla ja kontekstilla {/*scaling-up-with-reducer-and-context*/}
## Skaalaus reduktorin ja kontekstin avulla {/*scaling-up-with-reducer-and-context*/}

Reducerien avulla voit yhdistää komponentin tilanpäivityslogiikan. Kontekstin avulla voit antaa tietoa syvälle muihin komponentteihin. Voit yhdistää reducereita ja konteksteja yhteen hallitaksesi monimutkaisen ruudun tilaa.

Expand Down Expand Up @@ -987,7 +987,7 @@ li {

<LearnMore path="/learn/scaling-up-with-reducer-and-context">

Lue **[Skaalaus reducerilla ja kontekstilla](/learn/scaling-up-with-reducer-and-context)** oppiaksesi miten tilan hallinta skaalautuu kasvavassa sovelluksessa.
Lue **[Skaalaus reduktorin ja kontekstin avulla](/learn/scaling-up-with-reducer-and-context)** oppiaksesi miten tilan hallinta skaalautuu kasvavassa sovelluksessa.

</LearnMore>

Expand Down
2 changes: 1 addition & 1 deletion src/content/learn/reacting-to-input-with-state.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Reagointi syötteen tilaan
title: Reagointi syötteeseen tilalla
---

<Intro>
Expand Down
2 changes: 1 addition & 1 deletion src/content/learn/scaling-up-with-reducer-and-context.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Ylösskaalaus reduktorin ja kontekstin avulla
title: Skaalaus reduktorin ja kontekstin avulla
---

<Intro>
Expand Down
2 changes: 1 addition & 1 deletion src/sidebarBlog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"routes": [
{
"hasSectionHeader": true,
"sectionHeader": "STAY INFORMED"
"sectionHeader": "PYSY AJAN TASALLA"
},
{
"title": "Blog",
Expand Down
20 changes: 10 additions & 10 deletions src/sidebarCommunity.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{
"title": "Community",
"title": "Yhteisö",
"path": "/community",
"routes": [
{
"hasSectionHeader": true,
"sectionHeader": "GET INVOLVED"
"sectionHeader": "OSALLISTU"
},
{
"title": "Community",
"title": "Yhteisö",
"path": "/community",
"skipBreadcrumb": true,
"routes": [
{
"title": "React Conferences",
"title": "React Konferenssit",
"path": "/community/conferences"
},
{
"title": "React Meetups",
"title": "React Tapaamiset",
"path": "/community/meetups"
},
{
"title": "React Videos",
"title": "React Videot",
"path": "/community/videos"
},
{
"title": "Meet the Team",
"title": "Tapaa tiimi",
"path": "/community/team"
},
{
"title": "Docs Contributors",
"title": "Dokumentaation kehittäjät",
"path": "/community/docs-contributors"
},
{
"title": "Acknowledgements",
"title": "Tunnustukset",
"path": "/community/acknowledgements"
},
{
"title": "Versioning Policy",
"title": "Versiointikäytäntö",
"path": "/community/versioning-policy"
}
]
Expand Down
42 changes: 21 additions & 21 deletions src/sidebarHome.json
Original file line number Diff line number Diff line change
@@ -1,93 +1,93 @@
{
"title": "React Docs",
"title": "React Dokumentaatio",
"path": "/",
"routes": [
{
"hasSectionHeader": true,
"sectionHeader": "GET STARTED"
"sectionHeader": "ALOITUS"
},
{
"title": "Quick Start",
"title": "Pika-aloitus",
"path": "/learn"
},
{
"title": "Installation",
"title": "Asennus",
"path": "/learn/installation"
},
{
"hasSectionHeader": true,
"sectionHeader": "LEARN REACT"
"sectionHeader": "OPETTELE REACTIA"
},
{
"title": "Describing the UI",
"title": "Käyttöliittymän kuvaus",
"path": "/learn/describing-the-ui"
},
{
"title": "Adding Interactivity",
"title": "Interaktiivisuuden lisääminen",
"path": "/learn/adding-interactivity"
},
{
"title": "Managing State",
"title": "Tilan hallinta",
"path": "/learn/managing-state"
},
{
"title": "Escape Hatches",
"title": "Pelastusluukut",
"path": "/learn/escape-hatches"
},
{
"hasSectionHeader": true,
"sectionHeader": "REACT API"
},
{
"title": "Hooks",
"title": "Hookit",
"path": "/reference/react"
},
{
"title": "Components",
"title": "Komponentit",
"path": "/reference/react/components"
},
{
"title": "APIs",
"title": "APIt",
"path": "/reference/react/apis"
},
{
"title": "Legacy APIs",
"title": "Vanhemmat APIs",
"path": "/reference/react/legacy"
},
{
"hasSectionHeader": true,
"sectionHeader": "REACT DOM API"
},
{
"title": "Components",
"title": "Komponentit",
"path": "/reference/react-dom/components"
},
{
"title": "APIs",
"title": "APIt",
"path": "/reference/react-dom"
},
{
"title": "Client APIs",
"title": "Asiakaspuolen APIt",
"path": "/reference/react-dom/client"
},
{
"title": "Server APIs",
"title": "Palvelinpuolen APIt",
"path": "/reference/react-dom/server"
},
{
"hasSectionHeader": true,
"sectionHeader": "GET INVOLVED"
"sectionHeader": "OSALLISTU"
},
{
"title": "React Community",
"title": "React Yhteisö",
"path": "/community"
},
{
"hasSectionHeader": true,
"sectionHeader": "STAY INFORMED"
"sectionHeader": "PYSY AJAN TASALLA"
},
{
"title": "React Blog",
"title": "React Blogi",
"path": "/blog"
}
]
Expand Down
Loading