A splash of withSplitFactory and a dash of the useTreatment hook is all you need to give any React component access your Split feature flags.
You'll need to provide access to your Split account via an REACT_APP_SPLIT_API_KEY environment variable.
export REACT_APP_SPLIT_API_KEY='<YOUR_SPLIT_API_KEY>'
yarn start👤 Talia Nassi
- Twitter: @talia_nassi
- Github: @talianassi921
👤 Pete Hodgson