FrontendState Management
KW-0023

Side Effect

Concept
Meaning

any operation that changes something outside the function’s scope (like API calls, modifying external state)

Example

Making an HTTP request inside a reducer or modifying a global variable inside a function

Reference
Should be isolated (e.g., in effects/services); uncontrolled side effects lead to unpredictable behavior
Related
pure functionmutationeffect

Built with ♥ by Sakib