Refactor `branchOnFeatureToggle` to use `useFeatureToggle`
tdeekens opened this issue · comments
Tobias Deekens commented
This intends to refactor the HoC
branchOnFeatureToggle
to useuseFeatureToggle
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.