Skip to content

A component to simplify feature toggling in frontend applications at Vigo/FINTLabs.

License

Notifications You must be signed in to change notification settings

FINTLabs/fint-feature-toggle-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fint-feature-toggle-react

CI

A component to simplify feature toggling in frontend applications at Vigo/FINTLabs.

Install

yarn add @fintlabs/fint-feature-toggle-react

Usage

Component

<FeatureToggle feature='name of feature'>
    <NewFeature/>
</FeatureToggle>

Hook

const featureEnabled = useFeatureEnabled("name of feature");

if (featureEnabled) {
    // Run new feature
}
else {
    ...
}

Created with https://tsdx.io/

About

A component to simplify feature toggling in frontend applications at Vigo/FINTLabs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published