Skip to content

Commit b183fcd

Browse files
committed
Merge branch 'add/64944-with-sync-event' of github.com:WordPress/gutenberg into add/64944-with-sync-event
2 parents 8a15886 + ec3d662 commit b183fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference-guides/interactivity-api/api-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ store( 'myPlugin', {
896896
} );
897897
```
898898

899-
You may notice the use of the [`withSyncEvent()`](#withsyncevent) utility function in this example. This is necessary due to an ongoing effort to handle store actions asynchronously by default, unless they require synchronous event access. Otherwise a deprecation warning will be triggered, and in a future release the behavior will change accordingly.
899+
You may notice the use of the [`withSyncEvent()`](#withsyncevent) utility function in this example. This is necessary due to an ongoing effort to handle store actions asynchronously by default, unless they require synchronous event access (which this example does due to the call to `event.preventDefault()`). Otherwise a deprecation warning will be triggered, and in a future release the behavior will change accordingly.
900900

901901

902902
#### Side Effects

0 commit comments

Comments
 (0)