API Reference Phoenix.ReactServer NG v#0.8.4

Copy Markdown View Source

Modules

Phoenix.ReactServer provides high-performance server-side rendering (SSR) for React components within Phoenix applications. It supports both Bun and Deno JavaScript runtimes with intelligent caching and hot reloading capabilities.

High-performance ETS-based caching for React component rendering.

Centralized configuration management for Phoenix.ReactServer runtimes.

Phoenix.Component helpers for seamless React component integration.

Dynamic supervisor for JavaScript runtime processes and file watching.

Bun runtime for Phoenix.ReactServer server.

Common functionality shared between different runtime implementations (Bun, Deno, etc.).

Deno runtime for Phoenix.ReactServer server.

File system watcher for React components in development.

The React Render Server manages component rendering requests and caching.

Comprehensive telemetry and metrics collection for Phoenix.ReactServer runtimes.

Mix Tasks

Create server.js bundle for bun runtime, bundle all components and render server in one file for otp release.

Create server.js bundle for deno runtime, bundle all components and render server in one file for otp release.