We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e7071d commit fd70522Copy full SHA for fd70522
generated-docs/React/Basic/Events.md
@@ -47,8 +47,11 @@ Category EventFn
47
unsafeEventFn :: forall a b. (a -> b) -> EventFn a b
48
```
49
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`).
+Unsafely create an `EventFn`. This function should be avoided as it can allow
+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`.
55
56
#### `handler`
57
0 commit comments