launchdarkly / js-client-sdk

LaunchDarkly Client-side SDK for Browser JavaScript
Other
109 stars 62 forks source link

Pull only a sub set of flags for a project #279

Open mcntsh opened 1 year ago

mcntsh commented 1 year ago

Is your feature request related to a problem? Please describe. We have 900 flags on a project but we only need to use 2 of them for a specific app. Initializing the SDK means pulling and exposing all of these flags on the client.

Describe the solution you'd like The ability to optionally specify a subset of flags to be fetched by Launch Darkly instead of all which are marked as available in the client-side SDKs.

Describe alternatives you've considered Creating a new project - but we need the users and metrics for the main project and don't want to create a new one.

Additional context ...

louis-launchdarkly commented 1 year ago

Hello @mcntsh, thank you for reaching out. This is a request we have heard quite often, and are actively considering solutions. We don't have a lot more info yet but will keep you up to date.