react/scripts
Sebastian Markbåge 84a0a171ea
Rename experimental useEvent to useEffectEvent (#25881)
We originally had grand plans for using this Event concept for more but
now it's only meant to be used in combination with effects.

It's an Event in the FRP terms, that is triggered from an Effect.
Technically it can also be from another function that itself is
triggered from an existing side-effect but that's kind of an advanced
case.

The canonical case is an effect that triggers an event:

```js
const onHappened = useEffectEvent(() => ...);
useEffect(() => {
  onHappened();
}, []);
```
2022-12-14 15:08:29 -05:00
..
babel [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
bench Bump ecstatic from 2.2.1 to 2.2.2 in /scripts/bench (#20468) 2021-06-29 16:53:31 -04:00
circleci Add snapshot testing on e2e test failure (#24672) 2022-06-06 10:36:58 -07:00
devtools [DevTools][BE] Read username using gh in release script (#25270) 2022-09-15 18:12:46 -07:00
error-codes Rename experimental useEvent to useEffectEvent (#25881) 2022-12-14 15:08:29 -05:00
eslint [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
eslint-rules Remove Reconciler fork (1/2) (#25774) 2022-12-01 23:06:25 -05:00
flow Add support for setNativeProps to Fabric (#25737) 2022-12-09 14:43:52 +00:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest Remove Reconciler fork (1/2) (#25774) 2022-12-01 23:06:25 -05:00
perf-counters [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
prettier [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
print-warnings [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
release [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
rollup [react-www] remove forked bundle (#25866) 2022-12-13 10:44:48 -05:00
shared Add Bun streaming server renderer (#25597) 2022-11-17 13:15:56 -08:00
tasks [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
yarn chore: upgrade to jest 24 (#15778) 2019-10-03 22:44:18 +05:30
authors AUTHORS 2013-09-09 23:42:54 -07:00