Hi, one question about the underlying principal ab...
# announcements
h
Hi, one question about the underlying principal about assign a consistent variation to each user. How does it happen in ReactNative world? like user A being assigned with variation 0, and user closed the App and open again, user should be keep as variation 0.
f
Hi Herb - GrowthBook uses deterministic hashing, so as long as the hash attribute remains the same, the user will get the same variation.
h
I mean how this happen if the App exist. my understanding is the feature flag API only provide the definition of the feature flag and not stored any user specific decision. so on user side there must be some sort of persist way to achieve it.
f
yes, that's right - do you have any user attribute on your app side you can use?
h
yes we have. the reason why I’m asking this is because we need to replace our own feature flag utils with the growthbook. so needs to confirm it’s correctly split the traffic. we use the local storage for the RN. so not sure how you guys persist the data
f
we don't do any persisting - the deterministic hashing is all we use
h
Oh I see. it helps~