* React glue for the FeatureFlagService. * * Two pieces are exported: * * - FeatureFlagsProvider: wraps a part of the tree with a Service * and an EvalContext. The Service is usually constructed once at the * application root; the EvalContext changes as the user context changes
| 25 | */ |
| 26 | |
| 27 | interface FeatureFlagContextValue { |
| 28 | service: FeatureFlagService; |
| 29 | ctx: EvalContext; |
| 30 | } |
| 31 | |
| 32 | const FeatureFlagContext = createContext<FeatureFlagContextValue | null>(null); |
| 33 |
nothing calls this directly
no outgoing calls
no test coverage detected