react/packages
Sebastian Silbermann d12bdcda69
Fix Flow types of useEffectEvent (#26468)
## Summary

Just copied the types over from the internal types. Type error was
hidden by overly broad FlowFixMe. With `$FlowFixMe[not-a-function]` we
would've seen the actual issue:
```
Cannot return `dispatcher.useEffectEvent(...)` because  `T` [1] is incompatible with  undefined [2].Flow(incompatible-return)
```

## How did you test this change?

- [x] yarn flow dom-node
- [x] CI
2023-03-25 20:24:00 +01:00
..
dom-event-testing-library Avoid meta programming to initialize functions in module scope (#26388) 2023-03-14 21:00:22 -04:00
eslint-plugin-react-hooks Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
internal-test-utils Don't prerender siblings of suspended component (#26380) 2023-03-21 10:24:56 -04:00
jest-react Move internalAct to internal-test-utils package (#26344) 2023-03-08 12:58:31 -05:00
react Fix Flow types of useEffectEvent (#26468) 2023-03-25 20:24:00 +01:00
react-art Check if suspensey instance resolves in immediate task (#26427) 2023-03-20 12:35:10 -04:00
react-cache Don't prerender siblings of suspended component (#26380) 2023-03-21 10:24:56 -04:00
react-client [Flight Reply] Add undefined and Iterable Support (#26365) 2023-03-10 12:47:43 -05:00
react-debug-tools Update more tests to not rely on sync queuing (#26358) 2023-03-10 11:06:28 -05:00
react-devtools React DevTools 4.27.3 -> 4.27.4 (#26470) 2023-03-24 15:45:26 -04:00
react-devtools-core React DevTools 4.27.3 -> 4.27.4 (#26470) 2023-03-24 15:45:26 -04:00
react-devtools-extensions React DevTools 4.27.3 -> 4.27.4 (#26470) 2023-03-24 15:45:26 -04:00
react-devtools-inline React DevTools 4.27.3 -> 4.27.4 (#26470) 2023-03-24 15:45:26 -04:00
react-devtools-shared Fix devtools tests after internal test changes (#26405) 2023-03-16 08:14:23 -04:00
react-devtools-shell Upgrade Flow to 0.201 (#26326) 2023-03-06 10:33:22 -05:00
react-devtools-timeline React DevTools 4.27.3 -> 4.27.4 (#26470) 2023-03-24 15:45:26 -04:00
react-dom [Float][Fiber] Implement waitForCommitToBeReady for stylesheet resources (#26450) 2023-03-24 19:17:38 -07:00
react-dom-bindings [Float][Fiber] Implement waitForCommitToBeReady for stylesheet resources (#26450) 2023-03-24 19:17:38 -07:00
react-interactions Convert more Scheduler.unstable_flushAll in tests to new test utils (#26369) 2023-03-10 20:56:13 -05:00
react-is [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
react-native-renderer Remove ReactFabricPublicInstance and used definition from ReactNativePrivateInterface (#26437) 2023-03-22 17:54:36 +00:00
react-noop-renderer [Float][Fiber] Implement waitForCommitToBeReady for stylesheet resources (#26450) 2023-03-24 19:17:38 -07:00
react-reconciler Fix Flow types of useEffectEvent (#26468) 2023-03-25 20:24:00 +01:00
react-refresh Codemod redundant async act scopes (#26350) 2023-03-08 16:40:23 -05:00
react-server Remove layout effect warning on the server (#26395) 2023-03-22 13:33:48 -04:00
react-server-dom-relay [Flight Reply] Add Reply Encoding (#26360) 2023-03-10 11:36:15 -05:00
react-server-dom-webpack Update Rollup to 3.x (#26442) 2023-03-24 18:08:41 +00:00
react-server-native-relay [Flight Reply] Add Reply Encoding (#26360) 2023-03-10 11:36:15 -05:00
react-suspense-test-utils [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
react-test-renderer Check if suspensey instance resolves in immediate task (#26427) 2023-03-20 12:35:10 -04:00
scheduler Internal test helpers: Use Node's MessageChannel to queue task (#26345) 2023-03-08 15:04:38 -05:00
shared Don't prerender siblings of suspended component (#26380) 2023-03-21 10:24:56 -04:00
use-subscription fix docs link for useSyncExternalStore (#26452) 2023-03-22 01:39:05 +00:00
use-sync-external-store Codemod redundant async act scopes (#26350) 2023-03-08 16:40:23 -05:00