Client vs. server
Client SDKs
Run in browsers, mobile apps, and other public clients. Use a client key (
slc_), which serves an obfuscated configuration.Server SDKs
Run in trusted backends. Use a server key (
sls_), which reads the full configuration. Keep it secret.Available SDKs
React
@softlaunch/react — a provider and hooks for React apps.JavaScript
@softlaunch/js — a client for any JavaScript runtime.Node.js
Coming soon
Go
Coming soon
Python
Coming soon
A shared API
Every SDK exposes one typed accessor per flag type. The arguments are the same everywhere:
The typed accessors are
getBooleanFlag, getStringFlag, getIntegerFlag, getNumericFlag, and getJsonFlag (the React SDK exposes the same set as hooks: useBooleanFlag, and so on).
SDKs stay subscribed after the first load. When you change a flag, connected SDKs receive the update in real time and re-evaluate.