external system

Anything outside React that a component must stay in step with, such as the network, a timer, a browser API, a chat server or a non-React library.

In more detail

Effects exist to synchronise with external systems. If no external system is involved, for example when you only calculate values from state, you probably do not need an Effect.

Related terms

Taught in

References