useFlags
Retrieve flags values from Flagster instance
| Prop | Type | Default |
|---|---|---|
names? | string[] | [] |
Usage
Without passing any flags, you can get all the flags from the Flagster instance.
When passing some flags, you can get only the flags you want from the Flagster instance. This is useful when you only need a few flags in your component and optimize the performance.