react-query-firebase / remoteConfig / useGetValue
Function: useGetValue()
ts
function useGetValue(key): null | Value
Defined in: src/remoteConfig/useGetValue.ts:11
Custom hook to retrieve a value associated with a specified key from remote configuration. Utilizes memoization to optimize performance by recalculating the result only if dependencies change.
Parameters
key
string
The key for which the corresponding value is to be fetched from the remote configuration.
Returns
null
| Value
The value associated with the specified key if available, otherwise null.