import React from "react"; import { storiesOf } from "@storybook/react"; import { boolean, text } from "@storybook/addon-knobs"; import { action } from "@storybook/addon-actions"; import { LayoutGrid, LayoutGridCell, LayoutGridContainer } from "./layout-grid"; import { Grid, GridCell, GridContainer } from "../Grid/grid"; import NavBar from "../NavBar"; import Code from "../Code"; import Button from "../Button"; const openLogoUrl = "https://app.optimizely.com/dist/static/img/rebrand/logo-f64d2aed989db744b609666199d7d2a2.svg"; const storiesForRow = storiesOf("Layout|LayoutGrid", module); storiesForRow.addDecorator(story =>
Manage your app’s feature flags
Feature flags, also known as feature toggles, are a software development technique that lets you turn certain functionality on and off without deploying new code. This allows for better control and more experimentation over the full lifecycle of features. You can toggle a feature off to release code quickly without exposing it to users.
{/* eslint-enable max-len */}
{"var enabled = optimizely.isFeatureEnabled(”chat_window”, userId);" +
"\nif(enabled)\n{\n // Feature is enabled\n}" +
"\nelse {\n // Feature is disabled\n}"}