experimental\_useEffectEventLink for this heading
January 6, 2025 · View on GitHub
Under Construction
This API is experimental and is not available in a stable version of React yet.
You can try it by upgrading React packages to the most recent experimental version:
react@experimentalreact-dom@experimentaleslint-plugin-react-hooks@experimental
Experimental versions of React may contain bugs. Don’t use them in production.
useEffectEvent is a React Hook that lets you extract non-reactive logic into an Effect Event.
const onSomething = useEffectEvent(callback)
Copyright © Meta Platforms, Inc
no uwu plz
uwu?
Logo by@sawaratsuki1004
More
Search⌘CtrlK
-
react@19
- Overview
- Hooks
- Components
- APIs
-
react-dom@19
- Hooks
- Components
- APIs
- Client APIs
- Server APIs
- Static APIs
-
Rules of React
- Overview
-
React Server Components
- Server Components
- Server Functions
- Directives
-
Legacy APIs
- Legacy React APIs
Is this page useful?