Skip to content

Commit fd70522

Browse files
committed
Rebuild docs
1 parent 4e7071d commit fd70522

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: generated-docs/React/Basic/Events.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ Category EventFn
4747
unsafeEventFn :: forall a b. (a -> b) -> EventFn a b
4848
```
4949

50-
Unsafely create an `EventFn`. This function should be avoided.
51-
Use the helper functions specific to your platform (such as `React.Basic.DOM.Events`).
50+
Unsafely create an `EventFn`. This function should be avoided as it can allow
51+
a `SyntheticEvent` to escape its scope. Accessing a React event's properties is only
52+
valid in a synchronous event callback.
53+
54+
Instead, use the helper functions specific to your platform, such as `React.Basic.DOM.Events`.
5255

5356
#### `handler`
5457

0 commit comments

Comments
 (0)