Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
react-server-docs | c0347d7 | Mar 01 2026, 05:23 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new deploy adapter for Firebase Functions v2 (Cloud Functions 2nd gen) with full streaming support, along with enhancements to the
--deployCLI flag and comprehensive EN/JA documentation.New Firebase Functions Adapter
@lazarv/react-server/adapters/firebaseA complete deploy adapter that builds and deploys react-server applications to Firebase Cloud Functions v2 with Firebase Hosting.
How it works
edge.mjsfilessr) usingonRequestfromfirebase-functions/v2/httpsthat handles all non-static requestsfirebase.json,.firebaserc, and the function entry pointfirebase-functionsandfirebase-admindependencies in the output directoryfirebase deploywith proper project targetingAdapter options
projectstringpackage.jsonnameregionstring"us-central1"maxInstancesnumberminInstancesnumberconcurrencynumbermemorystring"512MiB","1GiB")timeoutSecondsnumberOutput structure
--deployCLI enhancementThe
--deployflag now accepts an optional JSON string to pass adapter options at deploy time, in addition to its existing boolean behavior.JSON options are merged with
adapterOptionsfrom the config file, with CLI values taking precedence. This is useful for CI/CD pipelines or deploying to different environments without modifying configuration files.Core fixes
spawnCommandimprovements (adapters/core.mjs)spawnCommandnow rejects with a properErrorobject containing the command and exit code, instead of callingreject()with no argument (which causedTypeError: Cannot read properties of undefined (reading 'stack'))spawn()options (e.g.env) beyond justcwd, enabling adapters to customize the child process environmentDocumentation
New pages
/deploy/firebase— Full adapter documentation with installation, configuration, deployment, streaming, output structure, and troubleshooting/deploy/firebase— Complete Japanese translationUpdated pages
/framework/cli):--deploysection updated to document JSON options with code example/deploy/api):deployproperty description updated to mention--deployJSON support/deploy/adapters): Added Firebase to adapter list and config descriptionAdapterGrid component i18n
AdapterGrid.jsxnow usesuseLanguage()for locale detection/{lang}for non-default languages