A component to simplify feature toggling in frontend applications at Vigo/FINTLabs.
yarn add @fintlabs/fint-feature-toggle-react<FeatureToggle feature='name of feature'>
<NewFeature/>
</FeatureToggle>const featureEnabled = useFeatureEnabled("name of feature");
if (featureEnabled) {
// Run new feature
}
else {
...
}Created with https://tsdx.io/