This message was deleted.
# ask-questions
w
This message was deleted.
w
Yes we fallback to the latest value that has been cached. If none have been cached then it falls back to the fallback listed in your code.
For example:
Copy code
// String/Number/JSON Feature Flag with a fallback
var value = gb.getFeatureValue("button-color", "blue")
if they are offline and nothing has been cached then value would be "blue".
m
Fantastic, thank you. Looks like exactly what we need
153 Views