agoda-com / agoda-com/react-handyman
[feature-toggle-jsx] withFeature HoC that has fallback when feature is not enabled
Aperta
- Lingua principale
- TypeScript
- Stelle
- 36
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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")
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.