Hi everyone, i am using useFeature() hook and i do...
# announcements
r
Hi everyone, i am using useFeature() hook and i dont know why i am getting feature.source = defaultValue and already write some override rule and i check in context of growthbook growthbook is sending experiment result but inExperiment is returning false.
f
What is the feature rule?
if this is a website, you can also use our Chrome extension to help you debug
r
i checked in chrome extension its showing feature in experiments but
const feature = useFeature("feature_name");
console.log(feature.source) // deafultValue
console.log(feature.value) // {} is default value
f
is it perhaps setting the hashed attribute after you’re calling useFeature?
1
How are you setting the deviceId?
r
yes
ok let me check setting hashed attribute things