UNPKG

configcat-react

Version:

ConfigCat is a configuration as a service that lets you manage your features and configurations without actually deploying new code.

23 lines (22 loc) 1.5 kB
"use client"; import withConfigCatClient from "./ConfigCatHOC"; import { useConfigCatClient, useFeatureFlag } from "./ConfigCatHooks"; import ConfigCatProvider from "./ConfigCatProvider"; export { ConfigCatProvider, useFeatureFlag, useConfigCatClient, withConfigCatClient }; /* Public type re-exports from @configcat/sdk */ // These exports should be kept in sync with the exports listed in the `src/index/browser.ts` module // located in the `js-unified-sdk` repo (https://github.com/configcat/js-unified-sdk). export { createConsoleLogger, createFlagOverridesFromMap, createFlagOverridesFromQueryParams } from "@configcat/sdk"; export { LocalStorageConfigCache } from "@configcat/sdk"; export { IndexedDBConfigCache } from "@configcat/sdk"; export { XmlHttpRequestConfigFetcher } from "@configcat/sdk"; export { ClientSideFetchApiConfigFetcher } from "@configcat/sdk"; export { DataGovernance, PollingMode } from "@configcat/sdk"; export { FormattableLogMessage, LogLevel } from "@configcat/sdk"; export { FetchError, FetchRequest, FetchResponse } from "@configcat/sdk"; export { PrerequisiteFlagComparator, SegmentComparator, SettingType, UserComparator } from "@configcat/sdk"; export { ClientCacheState, RefreshErrorCode } from "@configcat/sdk"; export { OverrideBehaviour } from "@configcat/sdk"; export { ConfigJson, deserializeConfig, prepareConfig, createSettingFromValue } from "@configcat/sdk"; export { EvaluationErrorCode } from "@configcat/sdk"; export { User } from "@configcat/sdk";