agoda-com / agoda-com/react-handyman
[feature-toggle-jsx] withFeature HoC that has fallback when feature is not enabled
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 36
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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")
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.