Hypertune
Search
K
Comment on page

Hard-coded fallbacks

Whenever you evaluate a flag, you pass a hard-coded fallback value:
const showNewEditor = hypertune.showNewEditor().get(/* fallback */ false);
If Hypertune Edge is unreachable and there's no build-time logic fallback, or there's an error evaluating the flag, you'll get this hard-coded fallback value instead.
This ensures that in the worst-case scenario, your app still works properly.