react/scripts
Sebastian Markbåge ce09ace9a2
Improve Error Messages when Access Client References (#26059)
This renames Module References to Client References, since they are in
the server->client direction.

I also changed the Proxies exposed from the `node-register` loader to
provide better error messages. Ideally, some of this should be
replicated in the ESM loader too but neither are the source of truth.
We'll replicate this in the static form in the Next.js loaders. cc
@huozhi @shuding

- All references are now functions so that when you call them on the
server, we can yield a better error message.
- References that are themselves already referring to an export name are
now proxies that error when you dot into them.
- `use(...)` can now be used on a client reference to unwrap it server
side and then pass a reference to the awaited value.
2023-01-27 20:08:26 -05:00
..
babel Transform updates to support Flow this annotation syntax (#25918) 2023-01-05 15:41:49 -05:00
bench Refactor: Reuse variable "remoteRepoDir" (#25740) 2023-01-09 22:59:38 -05: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 [flow] enable exact_empty_objects (#25973) 2023-01-09 17:00:36 -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 Improve Error Messages when Access Client References (#26059) 2023-01-27 20:08:26 -05:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest Improve Error Messages when Access Client References (#26059) 2023-01-27 20:08:26 -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 Add flow types to Maps in ReactNativeViewConfigRegistry.js (#26064) 2023-01-27 16:55:38 +00:00
shared Add Bun streaming server renderer (#25597) 2022-11-17 13:15:56 -08:00
tasks Update danger.js token (#26066) 2023-01-27 14:05:08 -05: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