agoda-com / agoda-com/react-handyman
[feature-toggle-jsx] withFeature HoC that has fallback when feature is not enabled
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 36
- Forks
- 8
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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")
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.