Releases: Kameleoon/client-react
Releases · Kameleoon/client-react
client-react
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
client-react
Bug fixes
- remove
xhr
in favour offetch
Breaking change
- visitor code is now mandatory for hasFeature and useFeature