You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added documentation for:
- Percentage-based rollouts and A/B testing feature
- rolloutStableId prop for Features component
- enableFor field in FeatureDescription type
- Node.js 18+ requirement
- Usage examples and best practices for gradual rollouts
This documents the major features added in PRs #35 and #34.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+57Lines changed: 57 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,14 @@ Easy and fast way to toggle features in your project.
5
5
Features include:
6
6
7
7
- Toggle parts of your project dynamically or at startup
8
+
- Percentage-based rollouts for gradual feature adoption and A/B testing
8
9
- Built in state management for active features
9
10
- Roll your own state manager using the minimal functional interface
10
11
11
12
## Installation and usage
12
13
14
+
**Requirements:** Node.js 18.0.0 or higher
15
+
13
16
To install,
14
17
15
18
```sh
@@ -51,6 +54,47 @@ function App(): JSX.Element {
51
54
}
52
55
```
53
56
57
+
## Percentage-based Rollouts and A/B Testing
58
+
59
+
React-Enable supports gradual rollouts and A/B testing through percentage-based feature flags. This allows you to enable features for a specific percentage of users.
0 commit comments