proxy-client-react
proxy-client-react copied to clipboard
Making variant optional in bootstrapping
From community slack (https://unleash-community.slack.com/archives/C05R73SJDPU/p1695232309805539)
I am trying to bootstrap my client with some feature flags and noticed that a variant is a required property of IToggle . Why is that? If I don't want to have a variant would I basically have to add
variant: { name: 'this is required', enabled: false}
to every bootstrapped feature toggle?