Skip to content
 
 

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaunchDarkly sample JavaScript application


We've built a simple browser application that demonstrates how LaunchDarkly's SDK works.


Below, you'll find the basic build procedure, but for more comprehensive instructions, you can visit your Quickstart page or the JavaScript SDK reference guide.

Build instructions


  1. Edit index.html and set the value of clientSideID to your LaunchDarkly client-side ID. If there is an existing boolean feature flag in your LaunchDarkly project that you want to evaluate, set flagKey to the flag key.
const clientSideID = 'myClientSideID';
const flagKey = 'my-flag-key';
  1. Open index.html in your browser.

You should receive the message "The feature flag evaluates to ." The application will run continuously and react to the flag changes in LaunchDarkly.

About

PoC for multiple JS SDK Clients

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages