
Compare supported runtimes, first-load behavior, flag evaluation, and testing tools for the applications you ship.
Compare supported runtimes, first-load behavior, flag evaluation, and testing tools for the applications you ship.

If your teams use OpenFeature, GrowthBook offers providers for browser JavaScript, backend services, and native Apple and Android apps. That lets web and mobile engineers keep a familiar flag API while choosing the provider for each runtime.
| Feature | GrowthBook | LaunchDarkly |
|---|---|---|
| Web and mobile | JavaScript and React SDKs for web apps, Swift for Apple apps, and Kotlin for Android. A script tag can add flags to a site without a JavaScript build step.[1] | Client SDKs include JavaScript, React Web, React Native, Flutter, iOS, and Android. The SDK feature matrix lists the minimum version for individual capabilities.[2] |
| Backend services | Server SDKs include Node.js, Python, Go, Java, PHP, and Ruby. They evaluate feature definitions inside the service using request attributes.[1] | Server SDKs include Node.js, Python, Go, Java, PHP, and Ruby. The language-specific feature matrix covers capabilities such as persistent stores and test data sources.[2] |
| Edge platforms | Integrations for Cloudflare Workers, Fastly Compute, and Lambda@Edge can apply a variation before the request reaches the origin.[1] | Edge SDKs cover Akamai, Cloudflare, Fastly, and Vercel. Experimentation support varies by platform and SDK version.[2] |
| OpenFeature integration | Providers include JavaScript for browser and server, Python, Go, .NET, Java, Swift, and Kotlin. Use a native SDK when you need GrowthBook-specific APIs such as inline experiments.[14] | LaunchDarkly documents official providers for runtimes including .NET, Java, Node.js, PHP, and Cloudflare. Its directory also distinguishes community providers and their support arrangements.[15] |
GrowthBook’s CLI can generate TypeScript definitions from the flags in your account. A developer wiring a new checkout flag can catch a misspelled key during a type check, then use request-scoped attributes to test two shoppers against the same running service.
| Feature | GrowthBook | LaunchDarkly |
|---|---|---|
| Node.js installation | Install @growthbook/growthbook. Initialize a shared GrowthBookClient with a client key and API host at process startup.[3] | Install @launchdarkly/node-server-sdk. Initialize a shared client with the environment’s server SDK key and keep that key on the server.[4] |
| Startup timeout | Set the Node.js initialization timeout in milliseconds. Inspect the initialization result before deciding whether a worker is ready to take traffic.[3] | Pass a timeout in seconds to waitForInitialization and handle promise rejection. One client per project can serve many concurrent requests.[4] |
| Request identity | Pass the user’s attributes at each evaluation, or attach a scoped client to the request in middleware. The underlying client stays shared.[3] | Pass a context into each server-side variation call. The shared client evaluates different users or organizations without changing its process-wide identity.[4] |
| Initial browser render | Initialize the JavaScript SDK synchronously with an existing feature payload via initSync. This path requires unencrypted feature and experiment definitions.[5] | Bootstrap the browser with values evaluated for the current context by a server SDK. Supplying those values with the page makes them available on first render.[6] |
| Typed JavaScript flag reads | Generate TypeScript definitions and register the project’s feature keys and value types with the SDK. Regenerate them when flag definitions change.[16] | The browser JavaScript SDK v4 offers typed evaluation methods for boolean, string, number, and JSON values. The application supplies the flag key and a fallback of the expected type.[17] |
GrowthBook’s local browser evaluation is useful when targeting depends on attributes that change during a session. The SDK can reuse its downloaded rules. For private rules, remote evaluation trades that reuse for a fresh result from your endpoint when relevant attributes change.
| Feature | GrowthBook | LaunchDarkly |
|---|---|---|
| Browser targeting rules | By default, the browser downloads definitions and evaluates rules locally. For sensitive rules, remote evaluation sends attributes to an evaluation endpoint and returns the resulting values.[7] | The client SDK receives flag results for its current context. LaunchDarkly evaluates the rules remotely, so the browser does not need the full targeting configuration.[8] |
| Server-side evaluation | The Node.js SDK keeps feature definitions in memory and evaluates them against each request’s attributes. Configure streaming or polling for a long-running process.[3] | The server SDK evaluates against locally held rules and context data. Flag reads can use that local state after initialization without a network round trip per request.[8] |
| Live browser updates | Enable streaming during JavaScript SDK initialization to receive published flag changes through server-sent events. Streaming requires GrowthBook Cloud or a GrowthBook Proxy.[5] | Listen for flag changes in the browser SDK to receive streaming updates, or configure streaming explicitly. Initialization alone does not subscribe the JavaScript SDK by default.[9] |
| Sign-in and account switching | Update the JavaScript SDK’s targeting attributes when a visitor signs in or changes accounts. Remote evaluation needs updated values from its endpoint when relevant attributes change.[5] | Call identify with the new context. The client loads its flag values for that context, so the application can wait for the identity change before rendering account-specific UI.[10] |
| Experiment exposure events | Set a tracking callback to record the experiment and assigned variation in your existing analytics system when the SDK enrolls a user.[5] | SDKs emit feature events for flags in experiments. LaunchDarkly uses these evaluation events to track experiment exposure, alongside custom events for outcomes.[18] |
With GrowthBook, you can pin a Node.js test to a known feature payload, run the targeting rules with two identities, and inspect why each got its result. The browser extension lets QA repeat that investigation on a page by changing attributes or overriding a flag locally.
| Feature | GrowthBook | LaunchDarkly |
|---|---|---|
| Browser cache and fallback | The JavaScript SDK caches feature definitions in memory and can persist them in browser local storage. Configure cache age and pass a fallback when reading a feature value.[5] | When a device loses connectivity, client SDKs can use previously stored variation values. If there is no stored value, evaluation returns the fallback supplied by the application.[11] |
| Network-free Node.js tests | Pass an unencrypted feature payload to initSync to exercise real evaluation logic against fixed definitions. The test controls both feature rules and request attributes.[3] | Use the Node.js TestData integration as the SDK data source. Tests can set a variation for all contexts or update a flag while the client is running.[12] |
| Evaluation diagnostics | Node.js evalFeature returns the selected value and its source, such as a default, forced rule, or experiment. A rule ID is available when applicable.[3] | Node.js variationDetail returns the value, variation index, and evaluation reason. A reason can identify a matching rule or explain why an error produced a fallback.[13] |
| Interactive local overrides | Enable SDK dev mode and use the Chrome or Firefox extension to inspect evaluations, change targeting attributes, or force a variation in the current browser.[19] | Install the developer toolbar in the app to override local flag values and inspect evaluation events in its monitoring tab. Other team members keep their existing values.[20] |