New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@jogit/tmp-react-server-dom-nodeless

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jogit/tmp-react-server-dom-nodeless

React Server DOM bindings for Nodeless runtimes. This package is very unstable, use at your own risk.

latest
Source
npmnpm
Version
19.0.1
Version published
Maintainers
1
Created
Source

@jogit/tmp-react-server-dom-nodeless

[!CAUTION] This is a temporary solution to run React's Server Components on Nodeless runtimes. It is not production-ready and should not be used in production.

It based on Kent C. Dodds' tmp-react-server-dom which is a temporary solution to run React Server Components on the server with ESM. Which is based on React Server Components, an unpublished version of React Server DOM available in React's main repository.

Usage

    deno run -A compile.ts

Description

It uses a unenv to remove all node-specific code from the React Server DOM package. It also uses esbuild to bundle the React Server DOM package and the React Server Components package into a single file. This results in a single file that can be imported and ran in Deno.

License

Please consult the orginal packages for their licenses. The code in this repository is MIT licensed.

FAQs

Package last updated on 11 Jan 2025

Related posts