From c5a304ddccf90ff98ccd688edb33e1fbfd89f96a Mon Sep 17 00:00:00 2001
From: Miro Rauhala <4082806+mirorauhala@users.noreply.github.com>
Date: Fri, 29 Sep 2023 23:16:24 +0300
Subject: [PATCH] Translate directives
---
src/content/reference/react/directives.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/content/reference/react/directives.md b/src/content/reference/react/directives.md
index b323dab1d..94a048be1 100644
--- a/src/content/reference/react/directives.md
+++ b/src/content/reference/react/directives.md
@@ -1,23 +1,23 @@
---
-title: "Directives"
+title: "Direktiivit"
canary: true
---
-These directives are needed only if you're [using React Server Components](/learn/start-a-new-react-project#bleeding-edge-react-frameworks) or building a library compatible with them.
+Näitä direktiivejä tarvitaan vain, jos [käytät Reactin palvelinkomponentteja](/learn/start-a-new-react-project#bleeding-edge-react-frameworks) tai rakennat kirjastoa, joka on yhteensopiva niiden kanssa.
-Directives provide instructions to [bundlers compatible with React Server Components](/learn/start-a-new-react-project#bleeding-edge-react-frameworks).
+Direktiivit tarjoavat ohjeita [Reactin palvelinkomponenttien kanssa yhteensopiville paketointityökaluille](/learn/start-a-new-react-project#bleeding-edge-react-frameworks).
---
-## Source code directives {/*source-code-directives*/}
+## Lähdekoodi-direktiivit {/*source-code-directives*/}
-* [`'use client'`](/reference/react/use-client) marks source files whose components execute on the client.
-* [`'use server'`](/reference/react/use-server) marks server-side functions that can be called from client-side code.
\ No newline at end of file
+* [`'use client'`](/reference/react/use-client) merkitsee lähdekooditiedostoja, joiden komponentit suoritetaan asiakaspuolella.
+* [`'use server'`](/reference/react/use-server) merkitsee palvelinpuolen funktioita, joita voidaan kutsua asiakaspuolen koodista.
\ No newline at end of file