mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
922dd7ba50
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.
react-server-dom-webpack
Experimental React Flight bindings for DOM using Webpack.
Use it at your own risk.