Last active
December 21, 2022 21:23
-
-
Save TheTempas/9a54369bc5aa9cad9317ca1f2d54ddfd to your computer and use it in GitHub Desktop.
Feature Flag Using Key
This file contains hidden or 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
const createWithNewProductUI = await this.featureFlags.newProductUI({ key: brandId }); | |
if (createWithNewProductUI) { | |
await this.createProduct(product); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment