Some Fancy Fun with Pregen Masked Flags

A demonstration and well documented template of how to use encrypted URL masked and pre-generated feature flags to avoid page flicker with PPR between the default and the cookie based flag state, or to avoid forcing every request into SSR rendering without PPR.

Comes with all the fun documentation and the option to disable building out all the static routes for preview builds with an env var as each flag option exponentially increases the number of routes being built.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.