This demo shows how to use @happykit/flags
for static pages.
Since this page is only rendered statically, the rendering will use no visitor key. This is necessary as the concept of a visitor does not exist during static site generation. Thus all rules and percentage-based rollouts targeting a visitor resolve to null
.
Render #1 (Current render){ ads: true, checkout: null, discount: 5, purchaseButtonLabel: null }