HappyKit

HappyKit is a feature flagging solution for your Next.js applications. This is its blog with tutorials, articles and product updates around HappyKit and Next.js.

Huge quality-of-life improvement: It is now possible to reorder rules.

Feature Flags can have targeting by rules. The rules allow you specify who should see which variant based on certain conditions. This is a powerful way to be very specific over which visitor is served which variant.

The rules are evaluated from top to bottom. If the first rule matches, the variant defined in that rule is served. The second rule is skipped. You can read more about this mechanism here.

Today’s addition lets you reorder the rules. This was a missing feature for too long. Reordering rules helps you adjust the order in which rules get evaluated. Just move the important ones to the top, as the evaluation runs top-to-bottom.

Dominik Ferber

© 2022 HappyKit. All rights reserved.