what’s the difference between default value in growthbook dashboard and providing fallback like this useFeatureValue(“test”, “default”)? If growthbook api is down then will useFeatureValue will still return fallback?
f
future-teacher-7046
03/29/2023, 5:14 PM
Yes that's correct. The fallback is only used if the feature definition could not be loaded. That most commonly happens if there's a network issue (e.g. the user is on a spotty wifi connection)
👍 1
s
sticky-insurance-60813
03/29/2023, 5:47 PM
thanks
now at the build time it is returning fallback value instead of default value from GB api.