flaky-noon-11399
09/25/2025, 11:21 AMflaky-noon-11399
09/25/2025, 11:21 AMmost-spoon-61816
09/25/2025, 12:16 PMcalm-dog-24239
09/25/2025, 12:19 PMflaky-noon-11399
09/25/2025, 1:00 PMcalm-dog-24239
09/26/2025, 11:34 AMflaky-noon-11399
09/26/2025, 11:34 AMflaky-noon-11399
09/26/2025, 11:49 AMcalm-dog-24239
09/26/2025, 11:50 AMcalm-dog-24239
09/26/2025, 11:52 AMflaky-noon-11399
09/26/2025, 12:01 PMcalm-dog-24239
09/26/2025, 12:02 PMflaky-noon-11399
09/26/2025, 12:02 PMcalm-dog-24239
09/26/2025, 1:23 PMflaky-noon-11399
09/29/2025, 8:39 AMcalm-dog-24239
09/29/2025, 9:19 AMcalm-dog-24239
09/30/2025, 3:49 PMcalm-dog-24239
09/30/2025, 3:51 PMflaky-noon-11399
09/30/2025, 4:02 PMcalm-dog-24239
09/30/2025, 5:21 PMflaky-noon-11399
10/02/2025, 10:58 AMcalm-dog-24239
10/02/2025, 11:25 AMcalm-dog-24239
10/02/2025, 1:58 PMrefreshHandler is expected to be called whenever the GrowthBook SDK fetches or refreshes features.
• This happens during SDK initialization (when features are first loaded from the API or cache).
• It also happens whenever the SDK pulls new data (for example, after flags are updated on the dashboard).
The reason you are currently seeing it fire multiple times is that:
1. On app startup, the SDK may trigger multiple UI re-renders depending on how feature() calls are used in your app. Each of those may cause the refreshHandler to run.
2. If you are using background sync (via Server-Sent Events or polling), then each incoming update from the server will also trigger the refreshHandler.
3. With Remote Eval, background sync is not supported — features are only fetched when you explicitly call fetchFeatures().
In a typical setup, you should expect:
• One refreshHandler call at initialization, when features are loaded.
• One refreshHandler call per update (e.g. when you change a flag in the dashboard and the SDK receives the update).
If you are seeing 10+ calls on initialization, that usually indicates the app is rebuilding the UI several times on startup and calling feature() during build. That can be optimized so the handler is only fired once per actual data refresh.flaky-noon-11399
10/02/2025, 2:31 PMflaky-noon-11399
10/03/2025, 1:45 PMflaky-noon-11399
10/03/2025, 1:46 PMcalm-dog-24239
10/03/2025, 1:48 PMcalm-dog-24239
10/06/2025, 12:31 PMflaky-noon-11399
10/06/2025, 12:32 PMflaky-noon-11399
10/07/2025, 1:49 PMcalm-dog-24239
10/07/2025, 2:08 PMflaky-noon-11399
10/07/2025, 2:38 PMflaky-noon-11399
10/13/2025, 8:18 AMflaky-noon-11399
10/13/2025, 8:21 AMcalm-dog-24239
10/13/2025, 8:27 AMcalm-dog-24239
10/13/2025, 11:53 AMflaky-noon-11399
10/15/2025, 8:07 AMcalm-dog-24239
10/15/2025, 8:11 AMfreezing-postman-69602
10/16/2025, 1:30 AMcalm-dog-24239
10/16/2025, 6:50 AMflaky-noon-11399
10/16/2025, 9:22 AMcalm-dog-24239
10/16/2025, 9:36 AM_isFetching flag in the FeatureViewModel to prevent multiple concurrent network requests.
• This resolves the issue of excessive refreshHandler calls on app startup when the TTL has expired, ensuring that background revalidation occurs only once.
• a lastKnownId variable to avoid handling duplicate data in the SSE flow.flaky-noon-11399
10/16/2025, 9:58 AMcalm-dog-24239
10/16/2025, 10:55 AMquiet-activity-40974
10/16/2025, 11:04 AMcalm-dog-24239
10/16/2025, 1:01 PMcalm-dog-24239
10/16/2025, 2:06 PMrefresh / refreshForRemoteEval methods — according to the conversation, they’re using the remote eval functionality, and the API call isn’t happening.
A possible reason might be that remoteEval: true wasn’t passed in the Growthbook Builder configuration, which would prevent the requests from being made. Could you please recheck if we’re passing it?quiet-activity-40974
10/17/2025, 3:14 AMcalm-dog-24239
10/17/2025, 7:28 AMcalm-dog-24239
10/21/2025, 6:01 AMquiet-activity-40974
10/21/2025, 9:05 AMcalm-dog-24239
10/21/2025, 9:43 AMcalm-dog-24239
10/21/2025, 9:49 AMquiet-activity-40974
10/21/2025, 10:01 AMcalm-dog-24239
10/21/2025, 10:23 AMcalm-dog-24239
10/21/2025, 10:27 AMquiet-activity-40974
10/22/2025, 2:24 AMquiet-activity-40974
10/23/2025, 4:27 AMcalm-dog-24239
10/23/2025, 5:54 AMquiet-activity-40974
10/23/2025, 8:00 AMquiet-activity-40974
10/23/2025, 8:37 AM// CyclicPrerequisite Value for the Feature is being processed
cyclicPrerequisite("cyclicPrerequisite"),
what can cause this ya? this resulting the value always nullquiet-activity-40974
10/23/2025, 9:06 AMcalm-dog-24239
10/23/2025, 10:10 AMcalm-dog-24239
10/24/2025, 9:46 AM