agoda-com / agoda-com/react-handyman
[feature-toggle-jsx] withFeature HoC that has fallback when feature is not enabled
Open
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Instead of hiding the component, a fallback component will be shown instead of the actual component.
Interface would be something like this
```
withFeature(Component, FallbackComponent, "myAwesomeFeature")
```
Contributor guide
Assessment
This issue has not been assessed yet.