mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
Update separating-events-from-effects.md (#8257)
Removed an extraneous "a" from the text
This commit is contained in:
@@ -568,7 +568,7 @@ label { display: block; margin-top: 10px; }
|
||||
|
||||
</Sandpack>
|
||||
|
||||
You can think of Effect Events as being very similar to event handlers. The main difference is that event handlers run in response to a user interactions, whereas Effect Events are triggered by you from Effects. Effect Events let you "break the chain" between the reactivity of Effects and code that should not be reactive.
|
||||
You can think of Effect Events as being very similar to event handlers. The main difference is that event handlers run in response to user interactions, whereas Effect Events are triggered by you from Effects. Effect Events let you "break the chain" between the reactivity of Effects and code that should not be reactive.
|
||||
|
||||
### Reading latest props and state with Effect Events {/*reading-latest-props-and-state-with-effect-events*/}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user