react/packages/react-server-dom-webpack
Sebastian Markbåge 922dd7ba50
Revert the outer module object to an object (#26093)
This is because Webpack has a `typeof ... === 'object'` before its esm
compat test.

This is unfortunate because it means we can't have a nice error in CJS
when someone does this:

```
const fn = require('client-fn');
fn();
```

I also fixed some checks in the validator that read off the client ref.
It shouldn't do those checks against a client ref, since those now
throw.
2023-02-02 15:30:59 -05:00
..
esm [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
npm [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
src Revert the outer module object to an object (#26093) 2023-02-02 15:30:59 -05:00
README.md [Flight] Rename react-transport-... packages to react-server-... (#20403) 2020-12-08 08:08:57 -05:00
client.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
index.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
node-register.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json Update cache() and use() to the canary aka next channel (#25502) 2022-10-23 23:20:52 -04:00
plugin.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
server.browser.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
server.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
server.node.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00

README.md

react-server-dom-webpack

Experimental React Flight bindings for DOM using Webpack.

Use it at your own risk.