Skip to content

chore: Revert "feat: support modern useEffectEvent"#9590

Merged
snowystinger merged 1 commit intomainfrom
revert-9095-use-effect-event
Feb 3, 2026
Merged

chore: Revert "feat: support modern useEffectEvent"#9590
snowystinger merged 1 commit intomainfrom
revert-9095-use-effect-event

Conversation

@snowystinger
Copy link
Member

@snowystinger snowystinger commented Feb 3, 2026

Reverts #9095

In testing, we found that the real useEffectEvent is causing issues. We are too close to release to fix it this time. Will look into it for next one.

Will see how #9379 does.

@rspbot
Copy link

rspbot commented Feb 3, 2026

@rspbot
Copy link

rspbot commented Feb 3, 2026

## API Changes

@react-aria/utils

/@react-aria/utils:useEffectEvent

 useEffectEvent <T extends Function> {
-  fn: T
+  fn?: T
   returnVal: undefined
 }

@snowystinger snowystinger added this pull request to the merge queue Feb 3, 2026
Merged via the queue into main with commit 9fddb02 Feb 3, 2026
30 checks passed
@snowystinger snowystinger deleted the revert-9095-use-effect-event branch February 3, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments