Skip to content

feat: translate to lifecycle-of-reactive-effects pages #490

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
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
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: 'Reacktif Efektlerin Yaşam Döngüsü'
---

<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.
Efektler bileşenlerden farklı bir yaşam döngüsü vardır. Bileşenler takılabilir, güncellenebilir veya çıkarılabilir.Efektler sadece iki şey yapabilir: bir şeyi senkronize etmeye başlamak için, ve daha sonra senkronizasyonu durdurmak için. Efektler zaman içinde değişen sahne ve durumlara bağlıysa bu döngü birden çok kez gerçekleşebilir. React, Efekt'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
Efektlerin yaşam döngüsü bir bileşenin yaşam döngüsünden nasıl farklıdır
- Her bir Efekt tek başına nasıl düşünülebilir
- Efekt ne zaman ve neden yeniden senkronize edilmesi gerektiği
- Efekt 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