Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
bf420c684d
commit
dbc3e18f0d
|
@ -297,7 +297,7 @@ Strive to write many small pure functions and minimize where mutations occur
|
|||
|
||||
## Export constants as primitives
|
||||
|
||||
Prefer exporting constant primitives with a common namespace over exporting objects. This allows for better compile-time reference checks and helps to avoid accidential `undefined`s at runtime. In addition, it helps in reducing bundle sizes.
|
||||
Prefer exporting constant primitives with a common namespace over exporting objects. This allows for better compile-time reference checks and helps to avoid accidental `undefined`s at runtime. In addition, it helps in reducing bundle sizes.
|
||||
|
||||
Only export the constants as a collection (array, or object) when there is a need to iterate over them, for instance, for a prop validator.
|
||||
|
||||
|
|
|
@ -62,11 +62,11 @@ next to any feature flag in the list.
|
|||
The maximum number of feature flags per project on self-managed GitLab instances
|
||||
is 200. For GitLab SaaS, the maximum number is determined by [tier](https://about.gitlab.com/pricing/):
|
||||
|
||||
| Tier | Number of feature flags per project |
|
||||
|----------|-------------------------------------|
|
||||
| Free | 50 |
|
||||
| Premium | 150 |
|
||||
| Ultimate | 200 |
|
||||
| Tier | Feature flags per project (SaaS) | Feature flags per project (self-managed) |
|
||||
|----------|----------------------------------|------------------------------------------|
|
||||
| Free | 50 | 200 |
|
||||
| Premium | 150 | 200 |
|
||||
| Ultimate | 200 | 200 |
|
||||
|
||||
## Feature flag strategies
|
||||
|
||||
|
|
Loading…
Reference in New Issue