Skip to content
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

Draft Terjemahan Sinkronisasi dengan Effect #525

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions src/content/learn/synchronizing-with-effects.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: 'Synchronizing with Effects'
title: 'Sinkronisasi dengan Efek'
---

<Intro>

Some components need to synchronize with external systems. For example, you might want to control a non-React component based on the React state, set up a server connection, or send an analytics log when a component appears on the screen. *Effects* let you run some code after rendering so that you can synchronize your component with some system outside of React.
Beberapa komponen diperlukan untuk disinkronkan dengan sistem eksternal. Misalnya, kamu mungkin ingin mengontrol sebuah komponen non-React berdasarkan status React, menyiapkan sebuah koneksi server, atau mengirimkan sebuah log analitik ketika komponen muncul di layar komputer. *Effects* memungkinkanmu untuk bisa menjalankan beberapa kode setelah me-render sehingga kamu bisa menyinkronkan komponen yang telah kamu buat dengan beberapa sistem di luar React.

</Intro>

Expand Down