Join us for React Conf on Oct 7-8.
Learn more.
React
v19.1
Search
⌘
Ctrl
K
Learn
Reference
Community
Blog
On this page
Overview
Choosing between event handlers and Effects
Event handlers run in response to specific interactions
Effects run whenever synchronization is needed
Reactive values and reactive logic
Logic inside event handlers is not reactive
Logic inside Effects is reactive
Extracting non-reactive logic out of Effects
Declaring an Effect Event
Reading latest props and state with Effect Events
Limitations of Effect Events
Recap
Challenges