Hi team, I'm seeing an issue with the visual edito...
# announcements
b
Hi team, I'm seeing an issue with the visual editor 2.0. I created an experiment but it works in some browsers and doesn't in some. On browsers I've tested, it works in brave, safari and not in firefox and chrome. If I use the preview link it works on all browsers.
f
can you give more details when you say “doesnt’ work”?
b
the experiment has some DOM mutations, those don't get applied
if I log
growthbook
I can see the experiment in the
_assigned
property
f
interesting that it would work with the preview url but not the live experiment
what is the tech stack?
b
react
Growthbook is instantiated using
useMemo
, it's done as such because of some data dependancy.
Copy code
const gb = useMemo(() => {
    if(!d) return

    return new GrowthBook({...})    
}, [d])
f
for efficiency
b
no I meant this is how I'm instantiating it in my project, was wondering if it would be relevant