vercel / examples

Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.
MIT License
3.57k stars 1.1k forks source link

edge functions/feature-flag-optimizely not loading variations/sort flag #383

Open jchen-vercel opened 2 years ago

jchen-vercel commented 2 years ago

It's possible I'm misunderstanding how this demo is supposed to work (https://github.com/vercel/examples/tree/main/edge-functions/feature-flag-optimizely), but when I go to the application I see products sorted alphabetically. When I go in and delete optimizely_visitor_id cookie and reload the page I don't see any changes. I tried deleting the cookie and reloading a few times, but did not notice any changes.

How am I supposed to trigger a new variation of the feature flag?

lfades commented 1 year ago

Can confirm. cc @dominiksipowicz can you take a look at this? Also the text can be updated to match our other examples 🤔