mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
experimental_useEvent (#25229)
This commit adds a new hook `useEvent` per the RFC [here](https://github.com/reactjs/rfcs/pull/220), gated as experimental. Co-authored-by: Rick Hanlon <[email protected]> Co-authored-by: Rick Hanlon <[email protected]> Co-authored-by: Lauren Tan <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
Rick Hanlon
Rick Hanlon
parent
3e745d92b6
commit
9329254ab5
@@ -424,5 +424,6 @@
|
||||
"436": "Stylesheet resources need a unique representation in the DOM while hydrating and more than one matching DOM Node was found. To fix, ensure you are only rendering one stylesheet link with an href attribute of \"%s\".",
|
||||
"437": "the \"precedence\" prop for links to stylesheets expects to receive a string but received something of type \"%s\" instead.",
|
||||
"438": "An unsupported type was passed to use(): %s",
|
||||
"439": "We didn't expect to see a forward reference. This is a bug in the React Server."
|
||||
"439": "We didn't expect to see a forward reference. This is a bug in the React Server.",
|
||||
"440": "An event from useEvent was called during render."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user