Quickstart
- Create an org and a project in the dashboard.
- Copy the client SDK key (clt_live_…).
- Install @nightroll/js or @nightroll/react.
- Initialize the client with your key and start gating code.
Targeting
See how rules + rollouts evaluate →
Failure modes
- Network errors during poll: SDK keeps serving the last-known config.
- Quota exceeded (HTTP 429): SDK keeps serving cached config and backs off polling.
- Cold start with no cache: ready() waits for the first poll; sync calls return the supplied default.