tdeekens / flopflip

🎚Flip or flop features in your React application in real-time backed by flag provider of your choice 🚦

Home Page:https://techblog.commercetools.com/embracing-real-time-feature-toggling-in-your-react-application-a5e6052716a9

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor `branchOnFeatureToggle` to use `useFeatureToggle`

tdeekens opened this issue · comments

This intends to refactor the HoC branchOnFeatureToggle to use useFeatureToggle under the hood.

This should simplify the logic and access to the context. Maybe tests could need an eye but in general should not need refactoring.