• Returns all feature flags for the current context.

    Type Parameters

    Parameters

    • Optional reactContext: Context<LDReactClientContextValue>

      Optional React context to read from. Defaults to the global LDReactContext.

      Optional

    Returns T

    All current flag values, optionally with camelCased keys, wrapped in a proxy that records evaluations.

    Deprecated

    This hook is provided to ease migration from older versions of the React SDK. For better performance, migrate to the typed variation hooks (useBoolVariation, useStringVariation, useNumberVariation, useJsonVariation) or use useLDClient with the client's allFlags method directly. This hook will be removed in a future major version.

Generated using TypeDoc