powerful-shampoo-80729
10/19/2023, 1:21 PMtrackingKey
matches, changes are published.growthbook.loadFeatures({ autoRefresh: true })
but no change in UI is seen when overriding the variant from dev tools.swift-helmet-3648
10/19/2023, 4:23 PMautoRefresh
is to enable our SSE feature to allow for real-time events. It's not related to how DevTools will override features.
Are you able to provide a snippet of the code you're using to access / render the feature? It's possible that your app is not re-rendering after updating the feature value.powerful-shampoo-80729
10/20/2023, 5:41 AMawait growthbook.loadFeatures({ autoRefresh: true }).then(() => {
const ft = growthbook.context?.features;
(Object.keys(ft || {}) || []).forEach(key => {
growthbook.isOn(key);
});
});
swift-helmet-3648
10/20/2023, 4:19 PMpowerful-shampoo-80729
10/24/2023, 11:04 AMswift-helmet-3648
10/24/2023, 3:56 PMsetRenderer
method we provide, docs here: https://docs.growthbook.io/lib/js#re-rendering-when-features-changepowerful-shampoo-80729
10/25/2023, 7:50 AMsetRenderer
but for the JS one?swift-helmet-3648
10/25/2023, 4:42 PMpowerful-shampoo-80729
10/26/2023, 7:01 AM