react: Bug: `react-server-dom-esm` package is empty

I thought it would be helpful to use react-server-dom-esm for an RSC test integration, but the package appears to be empty for parking purposes.

Please consider publishing it as I’d prefer to use official implementations of servers to encourage testing practices that are supported by React. I’m also unable to build from source, it appears as the version of this package on main isn’t in working condition outside of some internal fixtures yet.

Note: I originally thought this issue also applied to react-server-dom-webpack, but later realized I was installing the wrong channel, and that only the latest channel was empty. If there are resources to document this package, please clarify channel usage in the installation instructions.

React version: 18.3 (canary)

Steps To Reproduce

  1. Install react-server-dom-esm
  2. import "react-server-dom-esm/server";
  3. Run with node --conditions react-server

Alternative you can look up the code on npm, which has no JavaScript files.

The current behavior

Package fails to resolve modules because they’re missing.

The expected behavior

Package contains code that can be imported and run.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

bump

I think if react doesn’t release esm version, react should delete that package

Bump

@sebmarkbage Can you confirm if it’s intentional or a misconfiguration? In #26889, you said it’s just a proof-of-concept. So, I wonder if that’s the reason.