Skip to content

client-react

Compare
Choose a tag to compare
@Kameleoon Kameleoon released this 21 Mar 09:03
· 63 commits to main since this release

Features

  • Feature Flag v2 support
  • Improved stability

Breaking change

  • All HOCs,Feature render props, compose were removed
  • All data types hooks were removed: useDevice, useConversion, useCustomData, usePageView, useBrowser
  • Renamed hooks:
    • useFlush -> useFlushData
    • useActivateFeature -> useFeatureActive
    • useVisitorCode -> useBrowserVisitorCode
    • useAsyncVisitorCode -> useNativeVisitorCode
    • useRetrieveDataFromRemoteSource -> useRemoteData
  • Removed hooks:
    • useVariationAssociatedData
    • useRunWhenReady
    • useFeature
  • Added hooks:
    • useInitialize
    • useConfigurationUpdate
    • useFeatureFlags
    • useVisitorFeatureFlags
    • useExperiments
    • useVisitorExperiments
    • useFeatureFlagVariationKey