Hello guys! I'm trying to setup growthbook and, o...
# ask-questions
p
Hello guys! I'm trying to setup growthbook and, on first look, it works OK. But during manual tests, I've figured out that the chrome extension and experiment view event has different variations than those applied in the application. Has anyone faced such an issue? Any idea how to resolve?
s
That's odd behavior. That could happen if the IDs are different for each for some reason. Are you able to log out the id attribute and check it in dev tools to see if they match?
p
I'm trying with GrowthBook examples (next-js/client-optimized) and have the same behaviour. In examples, I'm just using my experiment and feature flag vars:
s
Couple of things I see: • The hydration message indicates that somewhere you're doing some server rendering that's not matching what's happening on the client. That could be a result of setting up GrowthBook with server side and client side rendering. • Do you intend to use
useExperiment
? This is for inline experiments, that is, experiments not set up in GrowthBook. Otherwise, you'll just want to stick to feature flag eval methods. • In sum, check that you're not rendering GrowthBook both server side and client side and that the ID is being set correctly.
p
Thank you for being so helpful! The issue was related to using inline experiments. I've misunderstood how it works.
🙌 1