Created
November 18, 2019 22:05
-
-
Save isquick82/f669c2699fb8bc6d9e362cc887b53bb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import optimizelyClientInstance from './optimizely' | |
const enabled = optimizelyClientInstance.isFeatureEnabled('new_feature', 'user123'); | |
if (enabled) { | |
// Show your feature | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment