agoda-com / agoda-com/react-handyman

[feature-toggle-jsx] withFeature HoC that has fallback when feature is not enabled

Abierto
#16 0 comentarios 0 reacciones 0 asignados Ver en GitHub
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

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.