MCPcopy Index your code
hub / github.com/FirebaseExtended/reactfire / RcString

Function RcString

example/withSuspense/RemoteConfig.tsx:7–15  ·  view source on GitHub ↗
({ messageKey })

Source from the content-addressed store, hash-verified

5import { LoadingSpinner } from '../display/LoadingSpinner';
6
7export const RcString = ({ messageKey }) => {
8 const { data: messageValue } = useRemoteConfigString(messageKey);
9
10 return (
11 <CardSection title="Retrieve string 'message'">
12 <span>{messageValue}</span>
13 </CardSection>
14 );
15};
16
17const RemoteConfigWrapper = ({ children }) => {
18 const { data: remoteConfigInstance } = useInitRemoteConfig(async (firebaseApp) => {

Callers

nothing calls this directly

Calls 1

useRemoteConfigStringFunction · 0.85

Tested by

no test coverage detected