mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
SSR related improvements for RC client SDK. * Exposes an initialFetchResponse arg that pre-hydrates the client SDK state * Adds an argument that allows setting an alternate template ID to fetch from * Splits storage impls into a simple in-memory version that can be run in SSR contexts * Adds some basic tests for the API functions, which were previously untested
1.3 KiB
1.3 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
RemoteConfigOptions interface
Options for Remote Config initialization.
Signature:
export interface RemoteConfigOptions
Properties
| Property | Type | Description |
|---|---|---|
| initialFetchResponse | FetchResponse | Hydrates the state with an initial fetch response. |
| templateId | string | The ID of the template to use. If not provided, defaults to "firebase". |
RemoteConfigOptions.initialFetchResponse
Hydrates the state with an initial fetch response.
Signature:
initialFetchResponse?: FetchResponse;
RemoteConfigOptions.templateId
The ID of the template to use. If not provided, defaults to "firebase".
Signature:
templateId?: string;