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

square-book-75964

02/09/2023, 9:35 PM
Hi, we recently found that growthbook would throw fatal error in incognito mode. Because it tried to use localStorage
f

fresh-football-47124

02/09/2023, 10:00 PM
yes, that is true
s

square-book-75964

02/09/2023, 10:04 PM
any workaround?
f

fresh-football-47124

02/09/2023, 10:04 PM
dont use incognito mode?
it should, but the persisting caching should work
is it throwing an error?
s

square-book-75964

02/09/2023, 10:05 PM
no we can't, end user (consumer might use incognito mode)
f

fresh-football-47124

02/09/2023, 10:05 PM
oh! you mean the SDK?
s

square-book-75964

02/09/2023, 10:05 PM
yes, the package throw fatal error
f

fresh-football-47124

02/09/2023, 10:05 PM
which SDK?
s

square-book-75964

02/09/2023, 10:05 PM
react
f

fresh-football-47124

02/09/2023, 10:08 PM
We are having trouble reproducing the error
can you share any of the code? (or DM it)
f

future-teacher-7046

02/09/2023, 10:36 PM
Hi. For anyone following, we have a PR to fix this issue - https://github.com/growthbook/growthbook/pull/990 Doing final testing now and then we will release the new SDK versions
New SDK versions are live now with the fix!
7 Views