Skip to content
Merged
Changes from 1 commit
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
20 changes: 10 additions & 10 deletions src/content/learn/lifecycle-of-reactive-effects.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
title: 'Lifecycle of Reactive Effects'
title: 'Reaktif Effects Yaşam Döngüsü'
Copy link
Member

Choose a reason for hiding this comment

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

Reacktif Efektlerin Yaşam Döngüsü

daha dogru bir ceviri olabilir. Burada da asagida da effect kelimesini cevirebiliriz.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Burada effect kullanmamım sebebi, çeviri kurallarında yazan ortak çeviriler.
https://github.com/reactjs/tr.react.dev/blob/main/TRANSLATION.md
Tekrar düzenleyip gönderiyorum.

Copy link
Member

Choose a reason for hiding this comment

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

Haklisiniz. Ozur dilerim. 2021 yilinda oyle bir karar almisiz. Ben de hatirlamiyordum. Hatta direkt ben dahil olmusum olaya surada: #300

O karari almamiza sebep olan ceviride ozel olarak hook olan efektlerden bahsediliyordu sanirim. Google aramalarinda cikmasi icin oyle tutalim demistik.

Ama bugun bakinca cevirmek daha mantikli geldi. Bir de buradaki ceviride daha cok konseptin aciklanmasi soz konusu hooklardan ziyade. TRANSLATION.md dosyasini da guncelledim. Diger dillere de baktigimda genelde arkadaslar cevirmisler effect kelimesini.

---

<Intro>

Effects have a different lifecycle from components. Components may mount, update, or unmount. An Effect can only do two things: to start synchronizing something, and later to stop synchronizing it. This cycle can happen multiple times if your Effect depends on props and state that change over time. React provides a linter rule to check that you've specified your Effect's dependencies correctly. This keeps your Effect synchronized to the latest props and state.
Effects bileşenlerden farklı bir yaşam döngüsü vardır. Bileşenler takılabilir, güncellenebilir veya çıkarılabilir. Bir Effects sadece iki şey yapabilir: bir şeyi senkronize etmeye başlamak için, ve daha sonra senkronizasyonu durdurmak için. Effects zaman içinde değişen sahne ve durumlara bağlıysa bu döngü birden çok kez gerçekleşebilir. React, Effect'inizin bağımlılıklarını doğru belirtip belirtmediğinizi kontrol etmek için bir linter kuralı sağlar. Bu, Efektinizin en son props ve state ile senkronize olmasını sağlar.

</Intro>

<YouWillLearn>

- How an Effect's lifecycle is different from a component's lifecycle
- How to think about each individual Effect in isolation
- When your Effect needs to re-synchronize, and why
- How your Effect's dependencies are determined
- What it means for a value to be reactive
- What an empty dependency array means
- How React verifies your dependencies are correct with a linter
- What to do when you disagree with the linter
- Bir Effect’lerin yaşam döngüsü bir bileşenin yaşam döngüsünden nasıl farklıdır
- Her bir Effect tek başına nasıl düşünülebilir
- Effect ne zaman ve neden yeniden senkronize edilmesi gerektiği
- Effect bağımlılıkları nasıl belirlenir?
- Bir değerin reaktif olması ne anlama gelir
- Boş bir bağımlılık dizisi ne anlama gelir?
- React, bir linter ile bağımlılıklarınızın doğru olduğunu nasıl doğrular
- Linter ile aynı fikirde olmadığınızda ne yapmalısınız

</YouWillLearn>

Expand Down