Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
react-feature-flags-2
<OptimizelyFeature feature="hello_world">
{(isEnabled) => (
isEnabled
? (<p> You got the <strong>hello_world</strong> feature! </p>)
: (<p> You did not get the feature </p>)
)}
</OptimizelyFeature>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.