rhythmic-chef-84815
06/08/2022, 1:18 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 1:40 PMfuture-teacher-7046
setRenderer
function on the GrowthBook instance and give it a callback function. It will be called every time you change a feature value in the dev toolsrhythmic-chef-84815
06/08/2022, 1:43 PMfuture-teacher-7046
growthbook.setRenderer(function() {
// Code to force your application to re-render and
// re-evaluate features
})
rhythmic-chef-84815
06/08/2022, 1:47 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 1:57 PMfuture-teacher-7046
useFeature("my-feature")
will be re-rendered automatically, but nothing else will berhythmic-chef-84815
06/08/2022, 2:09 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 2:25 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 2:31 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 2:33 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 2:59 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 2:59 PMfuture-teacher-7046
rhythmic-chef-84815
06/08/2022, 3:11 PM