https://www.growthbook.io/ logo
m

miniature-agency-3305

06/22/2022, 8:44 AM
Is there a way to set a refetch interval or some other way to make sure that the feature config stays up to date and/or is updated when it’s updated in the cloud UI? I’m using the React SDK.
f

fresh-football-47124

06/22/2022, 9:29 AM
We have webhooks which fire on updates to features.
you can also cache and set a fairly short TTL if you want another way to do it
f

future-teacher-7046

06/22/2022, 11:42 AM
There is nothing built in to do this right now. You can set this up yourself by just refetching periodically and passing in the new features with the
setFeatures
method.
2 Views