react icon indicating copy to clipboard operation
react copied to clipboard

feat(FeatureFlags): broaden feature flag type to accept undefined

Open joshblack opened this issue 1 year ago • 2 comments

This change makes it easier to integrate our FeatureFlags component in scenarios where a feature flag value may be boolean | undefined.

Changelog

New

Changed

  • The type of a flag has been loosened to boolean | undefined

Removed

Rollout strategy

  • [x] Minor release

Testing & Reviewing

  • Verify that FeatureFlags now accepts a flags prop where the values can be undefined and they are correctly initialized in FeatureFlagScope

joshblack avatar May 02 '24 21:05 joshblack

🦋 Changeset detected

Latest commit: 1bfb3aca08e9a1d4e20a863dc903e3fdb22cbbaa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar May 02 '24 21:05 changeset-bot[bot]

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 87.98 KB (0%)
packages/react/dist/browser.umd.js 88.28 KB (0%)

github-actions[bot] avatar May 02 '24 21:05 github-actions[bot]